There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
acer asus bios blue screen boot bsod computer connection crash desktop driver drivers error excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem motherboard mouse network networking nvidia outlook printer problem router security slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 64 bit windows update windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
How to run a command before ShutDown, without any third party software

Reply  
Thread Tools
2355738's Avatar
Junior Member with 28 posts.
 
Join Date: Dec 2006
Experience: Intermediate
02-Mar-2007, 02: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
Distinguished Member with 46,024 posts.
 
Join Date: Dec 2000
Location: North of Hollywoodland
Experience: I know when to fold em'
02-Mar-2007, 03: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
Senior Member with 4,267 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
02-Mar-2007, 12:41 PM #3
What specific command are you trying to run before shutdown?

Regards,
Rollin
Squashman's Avatar
Trusted Advisor with 18,680 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
03-Mar-2007, 08:03 PM #4
Group Policy.
Attached Thumbnails
How to run a command before ShutDown, without any third party software-scripts.jpg  
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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 want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
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 02:51 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.