Welcome.....share post to enable us reach more audience through your social media platforms

HOW TO SHUT DOWN YOUR WINDOWS COMPUTER WITH JUST A DOUBLE CLICK



By popular assumption, virtually every Microsoft Windows user knows how to shut down his/her computer. Obviously, shutting down your computer is really no big deal; all that’s needed is just taking the very first step of clicking on the START icon and then clicking the power options, after which you select SHUT DOWN from the drop-down list (or similar).

However, sometimes despite how simple this process is, we could still find it a little bit ‘lengthy’ especially when shutting down your computer has to be done in haste; I think I’m quite guilty of this too though :). And that’s why I would be teaching you how to shut down your computer with just a double click! Cool right? Wait till you find out!



To shut down your computer with just a double click, you’ll need to do that with the help of a batch script. A batch script is a special type of text file with the .bat file extension that could include a single or series of multiple commands which can be interpreted by the command prompt. Usually, the commands run in sequence and can be used to perform various functions which naturally can be done by series of steps; the batch script just simplifies the whole process and it can be easily done over and over again. And there are various things you could do with batch scripts- Ranging from changing system settings to automating simple tasks.

For the purpose of this article, I would only be focusing on using a batch script to shut down your computer. So without any further ado, let’s get started:


1. Open notepad on your laptop: simply search for it and open it


2. Type the following:

@echo off
title shutdown script
shutdown.exe -s -t 00



3. Save the file as Shut.bat and ensure you format the file as ‘all files’ as shown in the screenshot below. Do save it in a location you can easily access. I saved mine to Desktop, you can do so too if you want.


The file should look like this after you save it;

4. That’s all! Now here comes the fun part, anytime you want to shut down your computer, simply double click on the file where you have saved it and watch your computer shutdown. The benefit of using this method is that it’s really fast, no dialogue- just double click on the file and that’s it! :) 




Here's a bonus: If you want the script to show a prompt before your computer shuts down, you can edit the batch file and type:

@echo off
title shutdown script
color A
echo ----------------------------This will shutdown your computer----------------------------
pause

shutdown.exe -s -t 00
After typing the above, simply save the file. You'll now notice a prompt window would be opened anytime you double click the shut.bat file.

PS: This is just as an add-on though, the initial point was to shut down with just a double click anyway!

you can check out these screenshots to further guide you;






I really hope you learnt from this article. Kindly stay tuned to this blog for more like this and don't forget to leave a comment in the comments section below if you have questions... I'll be glad to respond to them. Also, share this post with your friends so they can learn too. See you later!


********************************************************
Hi!
I'm Orxad, I'm a Tech and mobile photography enthusiast, a content creator/writer... you can connect with me on whatsapp, I'd love to be your friend, Click here to message me!



Post a Comment

4 Comments

  1. Great... It's a good one... Is there any command to sleep the computer cos i always love to continue from where i stopped.

    ReplyDelete