shut down command

  • Thread starter Thread starter Garrett
  • Start date Start date
G

Garrett

when i had windows ME, i found the command that shuts
down the computer.... it was:

C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 9

This does not work for XP. Does anybody know the command
that will shut down the computer for XP?.
 
Garrett said:
when i had windows ME, i found the command that shuts
down the computer.... it was:

C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 9

This does not work for XP. Does anybody know the command
that will shut down the computer for XP?.

You can use this: shutdown -s-t 0

For more info type shutdown /? from a command prompt :-)
 
Garrett said:
when i had windows ME, i found the command that shuts
down the computer.... it was:

C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 9

This does not work for XP. Does anybody know the command
that will shut down the computer for XP?.

Hi

You could use the shutdown.exe that comes with WinXP, but it has a bad habit of
ending up in "It is now safe to turn of your computer" message when you do a
shutdown.

Two other solutions that does not have this problem:

A)
You can use a vbscript to do a shutdown:
http://groups.google.com/[email protected]

B)
PsShutdown.exe in the free PsTools suite
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top