PDA

View Full Version : whats the dos command to restart?


-Spector-
2003-10-21, 06:45 PM
just wanna know cause im making a batch file and i want it to restart my comp. thx

Demosthenes
2003-10-21, 06:49 PM
i think it's interrupt 19h

i dont know if there's an easier command in dos and i dont know if you can call interrupts in batch...sorry

-Spector-
2003-10-21, 06:54 PM
hmm ill try that thx

-Spector-
2003-10-21, 06:54 PM
nope its not workin in dos for me thx newayz

Demosthenes
2003-10-21, 06:55 PM
ehh,...its not actually a command in dos

u have 2 do it in assembly

Mantralord
2003-10-21, 06:55 PM
There isnt one, you need a program. Look for a program called "restart.com".

Demosthenes
2003-10-21, 06:57 PM
that probably just does int 19h...lol

-Spector-
2003-10-21, 06:58 PM
hmm thx for the replies

BlueCube
2003-10-21, 08:22 PM
If it's XP, it comes with shutdown.exe. Here's the command line:

shutdown -r

----

I'm not sure if shutdown.exe comes with 2000 or not, but if it doesn't, you can download it here:

http://www.dynawell.com/reskit/microsoft/win2000/shutdown.zip

I don't think it works on 95/98 though.

D3V
2003-10-21, 08:45 PM
If I may ask, what type of batch file are you writing?

Demosthenes
2003-10-21, 08:46 PM
im guessing a .bat one


i dont think there are ne others...lol

Adrenachrome
2003-10-21, 09:14 PM
ctrl+alt+del ?....

Demosthenes
2003-10-21, 09:16 PM
i dont think u can use escape sequences in batch progarmming otherwise that would work