Lets see how to do more than a regular shutdown.You can add any
combination of several switches to do extra things with shutdown.
Shut Down--
Open Notepad
Paste Bellow Code In It
shutdown -s -t 03 -c "Pc Shutting Down Bye Rashin See You Soon"
Save the file as shutdown.bat
Just run the program and see the magic
Parameters
-s -- Shutdown Command
-t -- Time In Seconds
-c -- Displays A Message Before Shut Down'
-f -- Forces Any Running Program To Stop
-r -- Restarts The Computer
Restart--
shutdown -r -t 03 -c "I Am Restarting See You Rashin After That"
Do the same above steps but save the file as Restart.bat
Shut Down--
Open Notepad
Paste Bellow Code In It
shutdown -s -t 03 -c "Pc Shutting Down Bye Rashin See You Soon"
Save the file as shutdown.bat
Just run the program and see the magic
Parameters
-s -- Shutdown Command
-t -- Time In Seconds
-c -- Displays A Message Before Shut Down'
-f -- Forces Any Running Program To Stop
-r -- Restarts The Computer
Restart--
shutdown -r -t 03 -c "I Am Restarting See You Rashin After That"
Do the same above steps but save the file as Restart.bat
Author: Rashin Sundaran
I am a Blogger and E.H.Interested in all tech works like Web Designing, Blogging Creating, Seo Works, Security Works And soon
Labels:
Programing,
Windows,
Windows 7
0 comments:
Post a Comment