COMMAND.COM
or cmd.exe
) reads the file and executes its commands, normally line-by-line. Batch files are useful for running a sequence of executable automatically and are often used by system administrator to automate tedious processes.Here is a technique to shutdown, restart , and standby of your PC by using batch file.
Just copy and paste below text in a notepad and save it "shutdown.bat" , "restart.bat",and "standby.bat" respectively.
Shout down: shutdown.exe -s -t 0
Restart: shutdown.exe -r -t 0
Standby: rundll32.exe PowrProf.dll, SetSuspendState Standby
You can see those files like this
To put those file in quick launch button menu you have to fallow these steps
Just drop and drag those file into quick launch menu.
Right click on each short cut and click on change icon.
Then you can change those file appearances according to your wish.
By these way you can easily access Shutdown,Restart,and standby options.