L1qu1D Posted July 10, 2009 Share Posted July 10, 2009 Ya, I just got tired of clicking a whole bunch just to shutdown my computer so I created a .bat file to shut my computer down faster with a keyboard shortcut! Now, you can't add a keyboard shortcut to a .bat file. So how you get "Around it?" Well take the .bat file and put it in My Documents then right click and make a shortcut to the file and drag it onto your desktop. Then right click that file and create a keyboard shortcut. The shortcut I use is Ctrl+Alt+S to shut down the computer. You have to have the .bat shortcut on your desktop for this to work, how ever if you don't like it there you can always right click and select the file to be "Hidden." To create the .bat file just open notepad, copy and paste the commands below into notepad. Then save as shutdown.bat *MAKE SURE YOU SELECT "SAVE AS TYPE" TO ALL!* shutdown.exe -s -f -t 03 -c "Haha L1qu1D Shutdown! See Ya Later!" For you that don't understand the commands I will explain for you... shutdown.exe -The command to call the shutdown program -s - To tell it to shutdown and halt -f -To force all the open programs (if any) to close -t -How much time before it shuts down -c -Used to leave a comment about the shutdown or why you shut it down. ---If you know of a better way or see something wrong please comment--- Hope this makes your Windows experience better lol! -L1qu1D Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.