computer notepad tricks

15 Coolest Notepad Tricks And Hacks 

Notepad on computer system goes unappreciated or unnoticed many times. This little tool is capable of doing some amazing tricks with just few simple steps. Notepad is a lot more than a simple text editor. Few lines of commands create interesting tricks that will definitely surprise you. In this article, i have 15 Coolest Notepad Tricks And Hacks to impress friends. Check these tricks out and if you have some more, don’t hesitate to share with us using the comment box below.

Top 15 Coolest Computer Notepad Tricks and Hacks 

1. Notepad Tricks To Test Antivirus

By using these trick, you can easily test whether your antivirus working perfectly or not.


Save it as test.exe and run the file and check if your antivirus detects it then your antivirus is working perfectly otherwise change your antivirus.

2. Make Notepad Your Personal Diary


Notepad can be turned into a personal logbook by simple steps. Everything you type will be saved with the particular date and time. It’s a cool way to create a diary in your computer.

Follow these steps to make notepad your diary:

  • Open Notepad
  • In the first line, type “.LOG”
  • Save the file as “log.txt

3. Password-protected Folder Using Notepad

You can protect your files and folders in your computer by using a Notepad trick. A password-protected folder is created using few lines of code and you can keep your important stuff safe.

ALSO READ  how to manually create a system restore point in windows 7

Type the following code:

title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
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.
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%==titech goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
 “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
echo Private created successfully
goto End

NOTE: Instead of “titech” written in the code, type in the password of your choice, save the file as “private.bat” 

choose File type as All Files (*.*). Double click on the file private.bat. A Private folder will be created in which you can move the files and folders that you want to protect. Now, a password will be required to open this folder.


4. The Matrix Effect

Create your own window of random strings of green digits displayed all over. For ‘Matrix’ movie fan


Type the following code:

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

save the file as “.bat”, open the saved file and see the Matrix magic! (You can find the saved file by performing a simple search in start menu).

5. Shutdown Your Computer With A Message

Shutting down Windows 8 can be too tedious for beginners. Open Start menu, Click on Turn Off button, Click Ok! Why not just double click an icon! Follow the steps and you can shut down your system by just double clicking on an icon. Also, a message of your choice will be displayed.


Open Notepad, type the following code and save the file with any name but with extension .bat

@echo off
msg * Computer will now shut down
shutdown -c “Sweet Dreams. Take care.” –s

 6. Notepad Trick Print Tree Root

This trick is one of the Best Notepad Trick that will print out a tree root on your screen. Just copy below code, paste it into notepad and save it as teekids in C:windows system.

{print tree root}


{print C:windowssystemwinlog

4*43″$@[455] 3hr4~

Note: If you want to stop the “.vbs” files press ALT+CTRL+DEL of your keyboard and open task manager and then process section and stop the Wscript running file there.

ALSO READ  5 Great Ways How To Backup Your Computer Data Safe

7. Pop Out The CD Drive Continuously

Play a prank with your friends and make their computer’s CD drive open and close repeatedly

Open Notepad, type the following code and save the file with “.vbs” extension

Then open the file. It will make CD drive pop out continuously. To stop the process, open Windows Task Manager (Ctrl+Alt+Delete) and end process.

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

8. World Trade Center Attack Trick

The flight number of the airplane that had hit World Trade center on 9/11 was Q33NY. Well, you might call this trick coincidence but, it will shock you.

Step 1. Open Notepad and type ‘Q33N’ without the quotation mark in capital letters.

Step 2. Now increase the font size to 72 and change the font to Wingdings.

You will be shocked to find out the visual graphics.

9. Text To Speech Using Notepad

What if your computer speaks what you type! Follow these steps and Notepad will speak to you:


1. Open Notepad and type the following command.

Dim message, sapi
message=InputBox(“What should I speak?”,”Speak to me”)
Set sapi=CreateObject(“sapi.spvoice”)
.Speak message 

2. Save the file as “speak.vbs

3. Open the file, type the sentence you want Notepad to speak and click OK.

10. Shortcuts For Changing Header And Footer In Notepad


Open Page Setup from File menu and use the following codes in the header and footer fields for the particular purpose:

&d Print the current date
&t Print the current time
&f Print the name of the document
&p Print the page number

&l Left-align the characters that follow
&c Center the characters that follow
&r Right-align the characters that follow

11. “Bush Hid The Facts” Trick

This trick is one of most popular tricks of Notepad. Follow these steps to use the trick:

ALSO READ  How To Activate Windows 10 Free Without Any Software

1. Open Notepad.

2. Type “bush hid the facts” or “this app can break”.

3. Save the file and close it.

4. Open the file again.

What happens is when you open the saved file again, you see some different characters instead of what you had typed and saved (i.e. bush hid the facts or this app can break). This happens due to 4-3-3-5 string length bug in old versions of Windows.

12. Open Notepad Continuously

This is the perfect prank to annoy your friend. You just need to copy and paste the code inside the notepad and save it with any name with .bat extension. You can send it to you friend and make him/her click.





13. Toggle Capslock

You can make the Capslock key of your keyboard toggle repeatedly by just typing a simple code in the Notepad.

Type this code in Notepad and save the file as “.vbs”

Open the saved file. See what happens on using Capslock key

Set wshShell =wscript.CreateObject(“WScript.Shell”)
.sleep 100
.sendkeys “{CAPSLOCK}”

14. Fake Windows Error Message

Type the following command in Notepad and save the file as “error.vbs” then Open the saved file and your fake error message will appear.


X=Msgbox(“Press OK and Windows will restart now.”,0+16,“There is a serious problem in your system”)

15. Hit Enter Continuously

This trick will let you use the function of the enter button happen again and again. Well, you just need to copy and paste the following code into the notepad:

Set wshShell = wscript.CreateObject(“WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “~(enter)”

Do you have other cool Notepad tricks not listed above? Share it with us in the comments below

Please dont forget to share if you find this article interesting

Leave a Comment

Your email address will not be published. Required fields are marked *

Join Free Tech Whatsapp Group