Top 11 Super Cool Notepad Tricks, Hacks and Codes


Notepad is a simplest and easy to use text editor built in every version of windows. Every person in this world use notepad to create note or write anything they want and save it to read it later.

Notepad is not only famous for its simplicity but it is also famous for its many tricks and hacks. There are many cool notepad tricks out there to trick your friends and make them amazed by notepad tricks.

In this post I am going to share the top best and cool notepad tricks which will surely going to blow your mind.

Without further ado let’s get started!

Cool Notepad Tricks:

In this post I am going to show you top 11 Super Cool Notepad Tricks, Hacks and Codes to prank your friends and family.

Make Your Keyboard LED Dance:

Every keyboard has LEDs light above the numpad which indicates Num Lock, Caps Lock and Scroll Lock. This Cool Notepad Trick will make your keyword’s LED light continuously on and off which looks like LED Dance.

  1. Open notepad
  2. Enter the following notepad codes
  3. Set wshShell =wscript.CreateObject(“WScript.Shell”)
    wscript.sleep 100
    wshshell.sendkeys “{CAPSLOCK}”
    wshshell.sendkeys “{NUMLOCK}”
    wshshell.sendkeys “{SCROLLLOCK}”
  4. Save the file as dance.vbs
  5. Click on the file and it will make all the three lights dancing.
  6. To stop this all you have to do is log off / shut down your PC.

CD Drive Gone Crazy:

What I actually mean is to make your CD Drive open and close nonstop.

  1. Open notepad
  2. Copy the codes
  3. 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
  4. Save this file as cd.vbs
  5. Open the file and sit back
  6. To stop this process head over to task manager by pressing Ctrl+Shift+Esc and stop cd.vbs

Note: if you can’t find cd.vbs then simply end wscript.vbs process.

Create Diary in Notepad:

This super cool notepad trick will allow you to make your very own personal diary in such a format that whenever you open and write something it will automatically add Date and Time stamp above your text.

  1. Open notepad
  2. Type .LOG in first line
  3. Save as LOG.txt
  4. Now write something in this file and it will automatically add date and time stamp for you.

Notepad Tricks

Also Read: Command Prompt Tricks

Create Fake Windows Error with Notepad:

With the help of this very cool notepad trick you can create fake windows error message in notepad. You can write anything you want to be appear on the error message. Follow simple steps to do this.

  1. Open notepad
  2. Type X=Msgbox(“Message Here”,0+16,”Title Here”)
  3. Replace Message Here to whatever message you want to add and also replace Title Here to add your own error message title.
  4. Save the file with error.vbs.
  5. Now click on the file and you will get your own custom made windows error message.

Force Shutdown your PC:

Everyone knows how to shutdown windows but ever wonder to shut down your pc in one click. Yes it is possible with the below notepad codes.

  1. Open notepad
  2. Add the codes in notepad
  3. @echo off
    msg * System will now shut down
    shutdown -c “Good Bye!” –s
  4. Save the file with whatever name you want in .bat extension and close it.
  5. Now whenever you open the file your computer will automatically shutdown.

PC got Hacked Prank:

This is one of the coolest notepad tricks I have ever seen. By using these notepad codes you can easily prank your friend by typing anything you want but for now I am writing pc got hacked.

So let’s get started!

  1. Open notepad
  2. Type the following notepad codes
  4. Save the file in .vbs extension.

Note: to stop this message simply open task manager and end wscript.exe process.

Open Notepad Continuously:

To make your friend confuse you can try this notepad trick which will open notepad again and again.

  1. Open notepad
  2. Type the following codes
  3. @ECHO OFF
  4. Save the file with any name with .bat extension.

Matrix Effect:

This is one of the most popular notepad tricks on the web. It is used to make matrix effect in notepad just like the image below.

Matrix Effect Notepad

  1. Open notepad
  2. Copy the codes and paste in your notepad
  3. @echo off
    color 02
    echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
    goto start
  4. Save the file as matrix.bat
  5. Now click on the file and see the magic.

Text to Speech Notepad Trick:

By using this trick you can actually make your computer speak. You can type anything you want and then your computer will speak that for you.

Isn’t it cool?

  1. Open notepad
  2. Copy the codes and paste it
  3. Dim message, sapi
    message=InputBox(“What do you want me to say?”,”Speak to Me”)
    Set sapi=CreateObject(“sapi.spvoice”)
    sapi.Speak message
  4. Save it as .vbs file
  5. Open the file and it will ask you what you want your computer to say.

Test Your Antivirus:

This is the best notepad trick to test your antivirus whether your antivirus is performing real time or not.

To do this trick follows these simple steps.

  1. Open notepad
  2. Copy the following code
  4. Save this file in .exe extension for example notepadhacks.exe

Create Password Protected Folder Using Notepad:

I and many people like you always wanted to protect files and folders to keep it secure.

But wait!

What if I tell you that you can actually password protect your folder without using any third party software isn’t it cool?

  1. Open Notepad
  2. Copy the entire code from below and paste it in notepad.
  3. @ECHO OFF
    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%== 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
  4. written in red is the password. Change it to whatever you want.
  5. Save this file as private.bat and select File Type as All Files.
  6. Click on private.bat file and it will create a Private Folder for you.
  7. Add your private files and folder in Private Folder.
  8. Now close Private Folder.
  9. Only you can open this folder with password.

Password Protected Folder using notepad


That’s the end of our Top 11 Cool Notepad Trick, Hacks and Codes. If you like it so please make sure to share it with your friends and family members.


Please enter your comment!
Please enter your name here