Jump to content

Using SHUTDOWN via a batch file


Recommended Posts

Guest Ablang
Posted

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?

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Doug Knox - [MS-MVP]
Posted

Re: Using SHUTDOWN via a batch file

 

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

RUNDLL32 command.

 

RUNDLL32.EXE PowrProf.dll,SetSuspendState

 

--

Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart

Display\Security

Win 95/98/Me/XP Tweaks and Fixes

http://www.dougknox.com

--------------------------------

Per user Group Policy Restrictions for XP Home and XP Pro

http://www.dougknox.com/xp/utils/xp_securityconsole.htm

--------------------------------

Please reply only to the newsgroup so all may benefit.

Unsolicited e-mail is not answered.

 

"Ablang" <ron916@gmail.com> wrote in message

news:1185669366.969084.83590@x40g2000prg.googlegroups.com...

>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?

>


×
×
  • Create New...