Best Notepad Tricks & Hacks

Notepad is one most used utility which is pre installed in your PC. You can do a lot with it. Shocked? Yea! Its natural. Even, I was also shocked, when I got to know that we can play a lot of cool and awesome tricks with notepad which will be a lot of fun. Yes! You have heard it right. So, Lets move further to some awesome tricks of Notepad! First of all, Let me explain What is notepad


Best Notepad Tricks & Hacks

Create Password Protected Folder Lock

Copy below given code To Notepad

title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
echo Are you sure u 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 Locker "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%==DwTricks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End


Save the file locker.bat and now open it.
Folder Lock Password is DwTricks
If you want to change password then replace DwTricks from above codes with your own Password.

Use Notepad As Diary

Copy the below code and paste it in notepad and save it as “log.txt”.


Now every time you open this log file you will have all the log details with date and time.


Falling Matrix Code Effect

This code will give you matrix effect on your screen just copy the below code and paste in notepad and save it as “anyname.bat”.
@echo off
color 02
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Save the file with, Name.bat extension and open the file.

Dancing Keyboard LED

The LED lights of any Keyboard (Caps Lock Key, Num Lock Key and Scroll Lock). You can force them to dance using this trick.
  • Open Notepad.
  • Paste this code in Notepad :
Set wshShell =wscript.CreateObject("WScript.Shell")
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"

Save the notepad file with Name.vbs extension and double click it.

Computer Speaking Your Message

This notepad trick able you to speak your message through computer. Copy the code given below :
Dim speaks, speech
speaks="Welcome to dwtricks.com"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
Save the file with Name.vbs extension and double click to run it.
Replace the text “Welcome to dwtricks.com” with your message.

Eject CD/DVD Drive Continuously

This is another popular vb script that run using notepad. It show you the continuous movement of your CD/DVD drive until you stop the script. Copy the code given below.
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
Save the file with Name.vbs extension and run it.

Disable The Mouse

This is another notepad funny trick that disable your mouse after double clicking the file that is created by using the code given below.
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
Save the file with Name.vbs extension and run it.

Shut Down PC

This is another cool notepad technic which i like the most. This will able you to shut down  PC by simply double clicking the file. Copy the code given below
@echo off
Shutdown.exe -s -t 10
msg * I don’t like you SHIT!
Save the file with Name.bat extension and enjoy it.

World Trade Center Attack 

This is another popular notepad trick. The flight number for the plane that hit the World Trade Center on 9/11 was Q33N. Now follow the instructions to use this trick.
1. Type the flight number Q33N  into Notepad.
2. Change font size to 72.
3. Change font to Windings.Now you will see the effects.

Trick to Test Antivirus

By using these trick you can easily test your antivirus working perfectly or not.




So above are the Best Notepad Tricks. By using these notepad tricks you can easily prank with your friends and have lots of fun with them and have a great experience with the notepad. Hope you like the post , don’t forget to share it with your friends and leave a comment below about any related queries.

Rohit Singh

I am 20 year self-trained guy, a young part time blogger and computer expert last for four years. I am very passionate about Tricks And Hacks, and mainly focus on to share latest deals, tweaks, tricks...

Related Articles

1 thought on “Best Notepad Tricks & Hacks”