Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: restart windows window command boot reboot Unconditionally Restart Windows
If you want to shutdown the computer, reboot, etc etc, look at the IntControl functions. Check out IntControls 66, 67 and 68
To Restart Windows...
IntControl(66,0,0,0,0)
To Reboot your Machine...
IntControl(67,0,0,0,0)This is a bit obscure, but it indeed works.
IntControl(12,5,0,0,0) IntControl(67,0,0,0,0)but, if Notepad is running with an unsaved document, I get asked if I want to save the document, and then Windows doesn't shut down and restart.
I have seen other programs do this, but I'm not sure how to do it with winBatch.
IntControl(67,0,1,0,0)Note the FORCE parameter.
Article ID: W13320
Filename: Restarting windows .txt
File Created: 2001:01:03:14:20:56
Last Updated: 2001:01:03:14:20:56