Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I saw a thread on Google from this site where a user was wanting to know how to reboot from the command line, or reboot from "DOS" in Windows XP.
XP Ships with shutdown.exe, and is also found on Windows Server 2003. You can download a copy for Windows 2000, and Windows 2000 server as it is found in the AdminPak.msi suite of software. XP a& Win server 2003 ship with the .exe.
the windows XP/2003 uses the "-" as the flag seperator, but windows 2000 uses the "/" as the flag seperator
for XP, go to the command prompt and type:
shutdown /?
this will show all of the available options. I use it all the time to reboot my servers in the middle of the night via a scheduled .bat file
this is a sample of how to reboot in 60 seconds, with a comment to the popup
shutdown -r -t 60 -c "Rebooting computer"
to cancel, just type
shutdown -a
- Klint Price
ammendment to:
http://www.computing.net/dos/wwwboard/forum/13752.html

Just a curious question... what's the advantage of booting from the command line verses going through the normal shutdown routine?
i_XpUser

typo ...what's the advantage of booting from...
should read
what's the advantage of rebooting from
i_XpUser

It can be added to a script file or a batch file triggered by an entry in the scheduled tasks module of windows, and command the system to either shutdown or reboot.
For exsample, At a certain time and if user activity is nill then run system managerment programs and reboot.
If memory serves, I do believe you can go as far as adding a message to be broadcast to users as to the shutdown or rebooting of the system.
It's not a dos command. It's built into the windows(xp) command library. The only thing I can see using it for would be automation of functions not requiring human intervention.
I pity him if his server hangs on boot up and he doesn't know it till the next day...
I may be crazy, but I'm not stupid...

Gosh - I'm sure the Original Poster from a year and a half ago will be pleased by this 'amendment' to his question in the DOS forum - sometimes it's worth waiting
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |