|
Answer» Hello, I am looking for a way to process a series of instructions before the Windows 2000 system shuts down. The opposite of the STARTUP feature of the Windows OS which LOADS items in that folder upon boot. Anyone know of any software or tweaks to do this?
I was thinking about relocating the shutdown.exe file, and compile a batch file as shutdown.exe in the place of it, which would run the instructions, then point to the actual shut down command located elsewhere when the instructions are completed....
Haven't done this YET to see if this is the trick that will work or not, but I dont see why it wouldn't...I'm amazed this option doesn't exist in Task MANAGER i just checked my Win2K machine...
Found This handy little ditty THOUGH....
Haven't tried it yet but it may do what you need...
Not sure if multiple tasks can be setup.
Let me know.you just have to include shutdown.exe in a batch file like so
Code: [Select]@echo off
REM code to EG empty recycle bin REM code to do something else REM code to do another thing REM etc REM Finally... REM shutdown /? for full usage details
shutdown -s -t 01 -c "Your message here"
Save it somewhere, create a shortcut to the batch, use that instead of the one on the start menu
|