How to shut down or restart the computer with a batch file


Solution ::


·                  Open Notepad
·                  Type following code 
·                  shutdown.exe /s /t 00 (For Win 7 Shutdown)
·                  shutdown.exe /r /t 00 (Win 7 Restart)
·                  shutdown.exe /h (Win 7 Hibernate)
·                  Save file as .bat (Mention file name before extension)
·                  Now click on file
Previous
Next Post »