• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Windows 2000 and the reboot command

MrSharky

Member
I'm looking for a way to reboot windows 2000 from a batch file. I thought there was a way to do this in win95/98/98se but wasn't sure about 2000 Pro and XP?? Anyone know of any such trick???
 
I've tried that.. and it seems to be a unrecongnized commmand... I thought there would have been that too....

'REBOOT' is not recognized as an internal or external command,
operable program or batch file.
 
Create a text file called restart.vbs

Put the following as the contents of the file:

set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "^{ESC}ur{ENTER}"

Save the file and place it on the desktop or in the Quicklaunch or whatever. It will restart Win2K when you double click it.
 
doooooooooood! AndyHui U R HARDCORE PROGRAMMER MAN! 😀

how'd U get the title "AT FAQ Man" 🙂

that's pretty tight! 😀


God Bless

Tanner
 


<< Using the built-in command shutdown.exe would be much easier. (It may be a reskit utility under W2K. Not sure.) >>



It is part of the RK.
 
Back
Top