How To Shut Down The PC With NotePad [ Windows Only ]
Today we shall see some tricks to shutdown your computer by clicking on a file that you will be creating, using notepad or any other text editor :-
It can be done in some simple steps, So let's get started...
Open a notepad. Save it as ILOVEU.bat (any name with file extension .bat), now copy and paste below codes into the notepad and save it again..
@echo off
c:
cls
echo hey wana be friends?
pause
echo did u say no???????????
pause
echo u r hacked
echo Type some message!
shutdown -s -t 30 -c “f*ck off”
c:
cls
echo hey wana be friends?
pause
echo did u say no???????????
pause
echo u r hacked
echo Type some message!
shutdown -s -t 30 -c “f*ck off”
As soon as someone clicks on this .bat file, these below popup’s will be displayed... Remember you can type any message you want like I am using " Fuck Off " ( Sorry for abusive Word ) ..
Other options that you can use along with the shutdown command are :
To shutdown computer -> “shutdown -s”
To restart computer -> “shutdown -r”
To logoff computer -> “shutdown -l”
To halt a restart/shutdown –> “shutdown -a”
You can use all these commands directly in DOS prompt or in a script.
To shutdown computer -> “shutdown -s”
To restart computer -> “shutdown -r”
To logoff computer -> “shutdown -l”
To halt a restart/shutdown –> “shutdown -a”
You can use all these commands directly in DOS prompt or in a script.
You can add some more features to this notepad by reading the help topics in your dos prompt.
Just type help after you enter the dos prompt ( C:\>help ).
Not recommended:
If you remove the pause statement from above code and put this file in the startup( C:\Documents and Settings\All Users\Start Menu\Programs\Startup or C:\Documents and Settings\current user\Start Menu\Programs\Startup ) folder, then your computer will shutdown(automatically) when this file loads at startup.
If you remove the pause statement from above code and put this file in the startup( C:\Documents and Settings\All Users\Start Menu\Programs\Startup or C:\Documents and Settings\current user\Start Menu\Programs\Startup ) folder, then your computer will shutdown(automatically) when this file loads at startup.
This article is written to teach you the method to troubleshoot your computer yourself, if someone uses this technique and creates problem in your computer.
Solution:-
Just enter into the dos mode(pre-boot mode, using any bootable disks), and search for any file with .bat extension in Startup folder. And if found, just delete it and restart your computer and it will work normally
Just enter into the dos mode(pre-boot mode, using any bootable disks), and search for any file with .bat extension in Startup folder. And if found, just delete it and restart your computer and it will work normally
These type of files are being sent by some anonymous people in IMs and also as attachments in emails. This could create some irritating problem and you may loose some data on your computer that you have not saved. So be careful when you get a file with .bat file extension. Better not to click on it.
How To Shut Down The PC With NotePad [ Windows Only ]
Reviewed by Unknown
on
06:31:00
Rating:
No comments