This is quick tip. If you are looking for a method to quickly shutdown or restart Windows. it is actually quite easy to do it. Create a .bat file on your desktop. Freshers may or may not know ‘ How to create the .bat file ‘ i will tell you that first. Simple open notepad — > save it now give the name as yourfileneme.bat and click on save button that all you created .bat file. Give it a meaningful name such as shutdown.bat or restart.bat. Now, edit the file with Notepad. Put these commands:
Shutdown:
shutdown -s -f -t 01
Restart:
shutdown -r -f -t 01
In the code :
- -s will shutdown your system
- -f will forces any running applications to close without warning
- -t 01 will delay the shutdown process for 1 second
- Finally save the file
Now double click on that file….. & see



