Shutdown Windows Millenium from a batch file

  steadman7 21:34 16 Oct 2007
Locked

Is there a command line (that can be incorporated ito a batch file) that will shutdown Windows Millenium

  SANTOS7 21:38 16 Oct 2007

Code:
c:\windows\rundll32.exe user,exitwindows
exit

An alternate command is:

Code:
rundll32.exe shell32.dll,SHExitWindowsEx 1


So if the first doesn't work, try the second.

Good luck...

  SANTOS7 21:39 16 Oct 2007

forgot

*note* you need the 'exit' line at the end, or Windows might not shutdown because of the running command prompt.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Best of the Grad Shows 2017: UAL Central Saint Martins

MacBook Pro 15-inch (2017) review

Comment connecter un MacBook à une TV ?