| Hack: | Automating Shutdown | |
| Subject: | OS: XP Pro Update | |
| Date: | 2005-05-12 08:48:29 | |
| From: | cedricktattoo | |
|
Response to: OS: XP Pro Update
|
||
| Very interesting. I use XP Pro, too, and this hack works perfectly as I originally wrote it for my XP system. It's even worked on other XP Pro systems used by a couple of friends. However, if substituting "shutdown.exe -s" still allows the hack to work for you and others, cool! The actual DOS command is "shutdown" and not "shutdown.exe," so it would be interesting to investigate why "shutdown.exe" worked on your system but "shutdown" did not. Has anyone else ever had this problem, I wonder? | ||
Showing messages 1 through 2 of 2.
-
OS: XP Pro Update
2005-09-12 20:29:44 Overlord [Reply | View]
Typing "shutdown" will run either Shutdown.bat, Shutdown.exe, or Shutdown.com. Since you named the batch file shutdown.bat, the command "shutdown" (without an extension) in the batch file makes it run the batch file over and over, as in; hey, run shutdown.bat. If you name the batch file anything else such as "KillPC.bat you will have no problems with Winders getting confused over which file to run.
| Showing messages 1 through 2 of 2. |




happens