Top 21 Notepad Tricks & Hacks + Codes You Should Know | Best Notepad Tricks


    Top 21 Notepad Tricks & Hacks + Codes You Should Know

    Today I’m going to share with you the Top 5 Notepad Tricks & Hacks + Codes You Should Know.

    Who doesn’t know the simple extended tool provided by Microsoft to every version of Windows. You got my point of what I’m talking about. It’s a notepad. Utility software for Windows that helps you do basic documentations everyday.

    But on the other side, it can also be used to perform various tricks and even works as a powerful tool to control and manipulate several computer programs. 

    Most people use notepad for only basic purposes. But here in this article we’ll show you the true form of notepad with some cool Notepad tricks and hacks. 

    Several Notepad tricks and hacks each with a unique purpose change your experience with Notepad. With these Notepad tricks impress your friends or play pranks on unsuspecting people and have some fun.

    Whatever the Windows version you’re using, the Notepad tricks discussed below will work on Windows 7, 8 and 10. Moreover, these Notepad hacks are very simple and can be easily implemented. Here are 20 cool Notepad tricks and hacks you should try in 2021.

    Also Read – Download PipBoy 3000 Fallout 3 Theme Apk: Latest Version

    List of 20 Best Notepad Tricks and Hacks:

    List of 20 Best Notepad Tricks and Hacks

    This simple tool has incredible features that are hidden inside. To have great fun with your friends, use the following Notepad tricks and explore more than not only taking notes and documents.

    You don’t need any skills. Just copy and paste the desired code into the Notepad.

    1. Test Antivirus Using Notepad:

    First things first. Every PC comes with pre-installed antivirus software from various manufacturers. To know whether it is working properly or not, use this Notepad trick to easily test its functionality. 


    After copying the code, save it as .exe and run the file. If your antivirus detects it, everything is fine. If not, switch to new antivirus software.

    Also Read – Download USBBT Joystick Center Gold Apk: the Universal Joystick, Touch Emulation and Keymapping App

    2. Name Notepad a Personal Diary:

    Make Notepad your personal diary by using this simple Notepad command. You don’t need to install any external tools. Just do as follows.

    • Open your Notepad.
    • Type .LOG and hit enter.
    • Save it as ‘log.txt’.
    • Reopen the file.

    Now, your Notepad will turn into a personal logbook/diary. Everytime you open the file, all the log details with date and time will appear. However, the interface doesn’t look good but works better.

    Also Read – Download Madden NFL 25 Apk: Best Football Game for Android

    3. Continuously Repeat Any Messages:

    One of the best Notepad tricks that constantly repeats any of the messages on the computer screen. To prank your friends, copy the code and paste it in the Notepad. Finally, save it as ‘message.bat’ and apply.

    @ECHO off
    msg * Hi
    msg * Are you having fun?
    msg * I am!
    msg * Let's have some fun together!
    msg * Because you have been o-w-n-e-d

    Also Read – Download Root External 2 Internal SD Card Apk: Best Space Management Tool

    4. Repeatedly Pop Out CD Drive Using Notepad:

    It is one of the popular Notepad tricks. Play with your friend’s laptop by making his CD Drive pop again and again. Even when he tries to close, it pops out repeatedly.

    Therefore, to use this Notepad trick, copy the below code and save it as a ‘.vbs’ file. To see it work, double click on the file.

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

    Also Read – Download Monopoly Millionaires Apk + OBB on Android: Latest Version

    5. Make Notepad Type Slowly:

    Want to make your friends work late. Well, this Notepad hack lets you type slower than usual. So they ask your help to sort out the problem. To make it happen, copy the below code and paste into the Notepad. When done, save it as ‘anyname.vbs’ and proceed.

    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! “

    Also Read – Download Music Maniac V2 Pro Apk: Top Rated Music Downloader

    6. Password Protect a Folder:

    The key to a lock. With this Notepad trick you don’t need any folder locking software. This Notepad Command helps you lock any of the folders with password protected.

    So expect you, no one can access the files hidden inside it. Therefore, to password protect a folder using Notepad, copy the paste the following code in the Notepad.

    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.
    goto CONFIRM
    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%== pass.pass 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
    echo Invalid password
    goto end
    md Private
    echo Private created successfully
    goto End

    In the above code ‘pass.pass‘ is a password. Replace it with your own password and save the file as ‘private.bat’ to create a private folder. When done, move all your files into it and lock it down. Don’t forget the password as it can’t be open without the password.

    Also Read – How to Change Facebook Name Before 60 Days (Working Method)

    7. Matrix Effect:

    Do you have an idea of system screens in the Matrix movie i.e ones and zeroes? If not, then this Notepad trick will make that possible. Therefore, to get a matrix-like text effect on your display screen, copy the following code and save the file as ‘anyname.bat’.

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

    Also Read – Watch Free Live TV On VLC Player Online Streaming

    8. Format Your Hard Disk via Notepad:

    Sounds crazy right. But this can happen when you use the Notepad script written below. This simple Notepad script clears all your hard disk data in a matter of seconds. 


    Also Read – Download Anon Cloud Apk: A Tool to Cheat in Games

    9. Toggle Caps Lock Repeatedly via Notepad:

    Play with someone’s computer or prank your friends by writing a Notepad script on their computer. This Notepad trick enables the Caps Lock key to toggle itself on and off automatically for every few seconds.

    To perform this action, copy and paste this code into the Notepad. Once done, save it as a ‘.vbs’ file and see what happens.

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

    Also Read – 100+ Samsung Codes List and Hacks to Unlock Hidden Features

    10. Attack the World Trade Centre:

    Did you know that the flight number that hit the World Trade Centre on 9/11 was ‘Q33NY’. Don’t take it easy, this Notepad trick gives you a shock. Checkout the process below.

    • Open the Notepad.
    • Type ‘Q3NN’ exactly without annotations.
    • After that, increase the font size to 72 and change the font type to Wingdings.

    When everything is done, you’ll be definitely shocked after seeing the visual graphics.

    Also Read – Real Video Resolution Difference Between 360p, 480p, 720p, 1080p Videos

    11. Disable Mouse Controls:

    What would you do if all of a sudden your mouse stopped working? Prank on your friends by this Notepad trick that easily disables the mouse controls of your computer. Here the script, place it in the Notepad and save it as a ‘disablemouse.bat’ file.

    rem Disable Mouse
    set key=”HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass”
    reg delete %key%
    reg add %key% /v Start /t REG_DWORD /d 4

    Also Read – Download GTA San Andreas Cheater APK for Android

    12. Make Keyboard Lights Dance in Rhythm:

    Generally, the three lights on top of the keyboard remain stable. Make them blink repeatedly by using this Notepad trick. 

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

    Copy the code and save it as ‘LEDDance.vbs’. Once you save the Notepad script mentioned above, the three lights on the keyboard will continually blink and give you a nice look.

    Also Read – Download FB Toolkit Apk With Amazing Features (Latest Version)

    13. Change the Header and Footer in Notepad:

    To do it, first open the Notepad and navigate to File > Page Setup. In the fields of Header and Footer, type any of the following codes 

    &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
    &l Left-align the characters that follow

    Generally, all the printouts of Notepad files begin with ‘untitled’ or a specific filename on top and a number at the bottom. Use this Notepad trick and change that kind of interface for a perfect printout.

    Also Read – 9 Legit Ways to Get Paid to Talk to Lonely Men (Get Paid to Chat, Text and Flirt)

    14. Type Sentences Repeatedly:

    One of the best Notepad tricks that helps you to annoy your friends. Whatever the reason is, this Notepad writes any of the sentences you type again and again. Here is the code to it.

    Set wshShell = wscript.CreateObject(“WScript.Shell”)
    wscript.sleep 100
    wshshell.sendkeys “I’ll be typed again and again”

    Paste the above mentioned code in the Notepad and save it as a ‘.vbs’ file. Moreover, to get rid of it, close manually from the task manager.

    Also Read – Download Pocket TV for PC: Step by Step Installation Guide

    15. Force Shutdown Windows:

    Do you think that it is possible with Notepad? What if I say yes. To force shutdown Windows, enter the following Notepad command and save it in ‘.bat’ format to force shut down the computer via Notepad.

    @echo off
    shutdown computer
    -c “sleep tight” -s

    Also Read – Best 10 Games Under 50 MB for Android (You can’t afford to miss them)

    16. Press Enter Continuously:

    If you’d like to irritate your friends, this Notepad trick helps you finish the job. When you use the below code in the Notepad, then enter button will be pressed automatically without someone reaching the keyboard. To do it, follow the process.

    • Open Notepad on your PC.
    • Copy and paste the following code in your Notepad.
    • After that, save the file as ‘.vbs’ extension.
    Set wshShell = wscript.CreateObject(“WScript.Shell”)
    wscript.sleep 100
    wshshell.sendkeys “~(enter)”

    Also Read – How to Use Laptop as Monitor for PS4 (The Only Guide You Need)

    17. Hit Backspace Continuously:

    Similar to the Notepad trick mentioned above, prank on your friends with this Notepad command. It clicks Backspace Continuously. All you have to do is copy and paste the below code in the Notepad file. 

    MsgBox “Backspace again and again and AGAIN”
    Set wshShell =wscript.CreateObject(“WScript.Shell”)
    wscript.sleep 100
    wshshell.sendkeys “{bs}”

    To make the above notepad code work, save it in ‘.vbs’ file format. Likewise, to stop it, simply use the task manager on Windows.

    Also Read – Download Procreate for Windows 10,8,7 and XP (Step by Step Guide)

    18. Deleting System32 Files stored in Hardware:

    To get rid of infected system32 files, the Notepad trick below will help you clear all the unwanted system32 files in a matter of seconds. 

    Note: This trick will harm your PC if you did not use it correctly. Before using this Notepad trick, be sure that you don’t have any important data stored.

    Also Read – Why Does Youtube Keep Pausing (And How to Fix It)


    19. Open Notepad Continuously:

    You have seen multiple notepad tricks from the lines, but this Notepad trick continually opens Notepad. To test it, enter the code in your Notepad and save it as ‘.bat’ extension.


    Also Read – Download JioTV Apk for Android TV (JioTV for Mi TV)

    20. Fake Error Message:

    To see an error message, use the below Notepad code and save the file as ‘error.vbs’.

    X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)

    Replace title and message with your own keywords.

    Also Read – 2000+ Cool Fortnite Name Symbols For Your Fortnite Nicknames

    21. Print Tree Root:

    Last but not least, one of the famous Notepad tricks that can easily print out a tree root on your desktop screen. Here’s the code.

    {print tree root}
    {print C:windowssystemwinlog
    4*43″$@[455] 3hr4~

    Paste in your Notepad and save it as teekids in C: Windows. To stop working, press ALT+CTRL+DEL and open task manager > Wscript running file.

    Like this post? Could you share it with your friends?

    Suggested Read –

    Ending the Article:

    These are some of the best Windows Notepad tricks that let you prank on your friends in a new style. Remember that some of the Notepad tricks and hacks mentioned above will work because of unsolved bugs present in Windows.

    Upon updates those might not work. However, to do so, use the rest of the Notepad tricks and annoy your friends like never before. If you like the post, share it with your friends and reach us through the comment section for queries.

    Previous articleDownload Music Maniac V2 Pro Apk: Top Rated Music Downloader
    Next articleDownload Monopoly Millionaires Apk + OBB on Android: Latest Version
    Parth Jiyani is the most enthusiastic blogger. He is a blog scientist and possesses supreme skills in web technologies.His enthusiasm for new age technologies is well appreciated by all web marketers.


    Please enter your comment!
    Please enter your name here