notepad tricks

We are back with the best notepad tricks. You might wonder that how this is possible? Well, this is true and you can able to use notepad and do trick with your friends. There is a programming language which uses to make notepad tricks. However, if you don’t know the programming language then don’t worry I am here to give you all codes, so that you can use these tricks with your friends.

There are many users who wants to learn these languages. I will suggest you to join an institute near your area and tell them that you want to learn programming they will help you to learn all those stuff. After that you too will become smart programmner and make cool notepad tricks.

What is Notepad?

It is a software which is present on every OS (Operating System) of the computer. However, there may name changes of that software. Well, don’t worry If you are using windows then it will help you very easily. Notepad is like you can just program your computer with it and that computer will do work as said in programs. You can do a lot of fun with these Notepad tricks. If you want to learn programming of Notepad then I will suggest you learn Batch Programming. It is using in Notepad tricks, well you can use a lot of other languages but these tricks are especially for funny and cool notepad tricks. And you can make HTML files and use all other programming languages. But you should change the extension of Notepad. Extension starts from (.bat .html .tag .vbs etc) there are lot of extension. You can also make your friend jealous of you with the help of these notepad tricks.

Best Notepad Tricks (Cool Notepad 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 anything.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 anything.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 anything.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 anything.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 anything.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 anything.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.

So, here was our all cool notepad tricks with these notepad tricks you will able to play pranks with your friends. If you found any one of above code is not working then comment below I will definitely solve it. If you want more tricks then you can subscribe to our mailing lists or you can like our facebook page to get updated.


Please enter your comment!
Please enter your name here