Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hey upgraded to XP, long story, was kinda forced to do it, but it seems cool...
anyway, I would like to know what the reboot string would be so i can put it in my bat file and call i to run and reboot my system, I had it working in ME, but it looks like it changes, in XP....
so if someone could hook me up that would be swell...
code one

nevermind figured it out...
if someone wants to explain the attributes to me, that would be good...
thanksco

Hehe, why'd you give up ME?
As to your question, how did you go about getting it done? Here's how I would have done it.
XP, and 2000 I believe, come with a utility adeptly named 'Shutdown'. If you want to reboot your computer using a batch file, I'd put something like this in the file:
shutdown -r -t 20 -c "Called from batch."That will cause the system to restart in 20 seconds, and will show the message in the quotes. By giving yourself 20 seconds, you can abort the shutdown by just running "shutdown -a" from the Run box, or a command prompt. Really, to restart the computer, all you need to use is "shutdown -r". To shut it down, use "shutdown -s".

![]() |
help regarding library fi...
|
A fun project for softwar...
|

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