• missing xbfish.com image

Shutdown/Restart/Log Off in Windows

missing xbfish.com image
Posted on

Need a icons to do the above in Windows OS?

Easy! Just create a .bat file and fill in the following:

For Shutdown:

1
shutdown.exe -s -t 00

For Reboot:

1
shutdown.exe -r -t 00

For Logoff:

1
shutdown.exe -l

For Abort Shutdown:

1
shutdown -a

Take note that the -t parameter is the number of seconds Windows take to perform this task. For instance if shutdown.exe -s -t 3600, Windows will takes 1 min before it shut down.

Hope it helps :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam protection by WP Captcha-Free