There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer bios black screen blue screen boot computer connection crash css dell display driver drivers email error excel firefox firefox 3 hard drive internet internet explorer itunes laptop malware monitor network networking nvidia outlook outlook 2003 outlook express partition password printer problem problems router security slow software sound startup trojan usb video virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
How to run a command before ShutDown, without any third party software


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
2355738's Avatar
Junior Member with 22 posts.
 
Join Date: Dec 2006
Experience: Intermediate
02-Mar-2007, 01:03 AM #1
How to run a command before ShutDown, without any third party software
Hi

is there any way to run a command before shutdown?

I've already found a couple of programs that do that, but I'd like to avoid adding more programs and having them in the background.



OS: Windows XP Pro SP2


thanks
Rollin' Rog's Avatar
Computer Specs
Moderator with 42,948 posts.
 
Join Date: Dec 2000
Location: North of Hollywoodland
Experience: I know when to fold em'
02-Mar-2007, 02:37 AM #2
You would have to create a .bat or script file that runs the command and then initiates a shutdown command.

Maybe we should move this to the "coding" section where you might get more help if you are specific about what you want to do.
Rollin_Again's Avatar
Distinguished Member with 2,872 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
02-Mar-2007, 11:41 AM #3
What specific command are you trying to run before shutdown?

Regards,
Rollin
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
03-Mar-2007, 07:03 PM #4
Group Policy.
Attached Thumbnails
how-run-command-before-shutdown-scripts.jpg  
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:09 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.