techguy87
Joined: 17 Mar 2009 Posts: 1
|
Posted: Tue Mar 17, 2009 9:41 pm Post subject: How to force a reboot at the end of compiled EXE |
|
|
I want to force a reboot (Windows XP) at the end of my batch file, and I know the command:
| Code: | | shutdown -r -t 10 -f |
But when I compile my batch file and run it, it will not reboot. I have tried changing the command to
| Code: | | start /wait C:\Windows\System32\shutdown.exe -r -t 10 -f |
but this does not work any better. Can anyone give me some suggestions? |
|