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

Dell XPS 13 9370 (2018) review

Creative studio Omnibus' brand identity for We Said Enough, a non-profit against sexual misconduct

What to ask Siri on the HomePod

Meilleurs VPN (2018)