Using SHUTDOWN via a batch file

A

Ablang

A batch file containing this:
SHUTDOWN -S -F -T 60 -C "Shutting down in 60 seconds"

will start a 60-sec countdown and then shut the system down.

Is there a good command line to make your computer hibernate?
 
D

Doug Knox - [MS-MVP]

In XP, not using the SHUTDOWN executable. However, you can still use the
RUNDLL32 command.

RUNDLL32.EXE PowrProf.dll,SetSuspendState
 

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

Top