Top 12 Notepad Tricks

Here you will get all best notepad tricks most common and you should know you can prank your friends with these simple tricks.

#1. Make Fake Windows error with the Notepad Tricks.

With the help of this trick, you can make your friends problem and feel them worry about their PC. So, you can use this type of trick.

  • Open Notepad.
  • Type X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)
  • You can replace put your message here and put a funny sentence. It will be visible when this error occurred.
  • Save this file as errors.vbs

#2. Force CD Drive to Open continually

  • Just open your notepad and paste these codes.

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

  • Then save this file as Tech Maniya.vbs
  • When you double click on that program then CD Drive will open automatically.

#3. Make Own Daily Diary in Notepad

This is amazing Notepad tricks which will allow you to make your own Dialy diary. When you write anything on this notepad then it will automatically add time and date to your text. It is Cool Notepad tricks. You should follow some steps to do:

  • First thing first, So you have to open notepad and it is because it is very important step 😀
  • Type .LOG on your Notepad.
  • Then save it as Diary.txt
  • So, whenever you will write something on this notepad it will add time and date.

Open Notepad in friend’s computer continuously

Type this in Notepad

@ECHO off
START %SystemRoot%system32notepad.exe
GOTO top

Save it as tech maniya.bat and send it your friend. When He will open that program then He will be in small trouble.

#4. Make Keyboard LED lights to Dance

Don’t think that these lights will dance and entertain you. But it will flicker like on and off lights. Your all lights Num lock, scroll lock, caps lock.

  • Just Open your Notepad.
  • Paste this secret code in your notepad.

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

  • Save this file as TechManiya.vbs
  • So, whenever you will open it then your all lights will dance like it will blinks.

#5. Test your Antivirus with Notepad

This is an amazing Notepad trick to check your antivirus program. You have to follow some basic steps.

  • Open Notepad and paste below codes.


  • And Now save this file as techmaniya.exe
  • So, if your antivirus is working perfectly then your antivirus will tell you to delete this file.
  • If nothing happens then just change your antivirus Now.

#6. Matrix effect with Notepad

This trick is most popular notepad tricks and cool notepad tricks.

  • Just open Notepad and paste the following codes.

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

  • Save this file as techmaniya.bat

#7. Repeat messages on screen continuously

  • Open your notepad and paste this code

@ECHO off


msg * Hi

msg * Are you having fun?

msg * I am!

msg * Lets have fun together!

msg * Because you have been o-w-n-e-d


  • Now save this file as techmaniya.bat

#8. Type YOU ARE FOOL Continuously

  • Just copy this code.

Set wshShell = wscript.CreateObject(“WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “You are a fool.”

  • And save this file as techmaniya.vbs and that’s it.

#9. Force windows to shut down

With the help of this trick your windows will shut down forcedly.

  • Just open notepad
  • Paste @echo off in next line.
  • Paste *shutdown computer in next line.
  • Paste shutdown –c “sleep tight” –s
  • Save this file as Shut.bat
  • Then just open that notepad and then your PC will automatically shut down.

#10. Make password protected folder with Notepad

If you don’t want to use folder lock then you can use this self-made locker for your folders. This is really amazing and interesting notepad tricks.

  • Open your 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.
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 the 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

  • com wrote in red color in your password.
  • Save that file as folderlock.bat
  • Now paste those files under folderlock.bat and your password will be
  • So, no one will able to see your folders without your permission.

#11. Pressing Backspace Automatically

  • Just Open your Notepad and enter this code.

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

  • Then save as to .vbs format.

After opening it, backspace will automatically start pressing.

#12. Delete Windows/System32 (Notepad Codes)

With the help of this trick you can delete all files of System32, then windows will be corrupted.


Save it as .bat then open it. After that your system files will be deleted.

Note: Don’t use this code, unless you don’t know about windows corrupt. 

Are Notepad Tricks useful to you?

These notepad tricks are simply amazing. Some of the notepad tricks are the best and they will help you also. If you find it useful then you can share it with your friends and tell them to use these Notepad tricks which will help you to do fun with your friends.


If you have any questions let us know in the comment section below.

Leave a Reply

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