Top 15 Incredible Notepad Tricks, Hacks and Commands That You Must Give a Try

Currently, the usage of electronic gadgets has surged in a huge way that these devices are like the part of an individual’s life. Computer, Laptops, tablets, smartphones and much more have become the most essential and basic amenities for not only a professional guy but also a common working man. Most of us might be aware of the amazing entity of a computer is that we can run it on any operating system especially Windows. Usually, people purchase a computer or a laptop for handling some educational or professional work.
One of the amazing things in Microsoft Windows is the package that helps you write, prepare a slideshow presentation, make an excel sheet and much more. Likewise, there is a Notepad for you to assist like a scratch pad which would be very helpful for noting some important numbers or address in a rough way. A notepad can also be used in a number of ways which you might not be aware.
Are you feeling bored using the same old things on your computer? Here are some tweaks and tricks that can be done on your system on the laptop so that you can have much fun using them on your device. Check out the simple tricks and tweaks of Notepad that you must give a try. Take a look!


Notepad is a simple text editor which is offered by the Microsoft’s windows operating system. Generally, we make use of notepad for typing purpose and save the files to keep the record of important things. Sometimes, the Notepad can also use by web designers and programmers for coding purpose. It supports several different types of extensions.
Usually, people consider notepad just as a text editor but it is something more than that. In this article, you can find simple and most interesting tips, tricks and features which are accessible via notepad. We can even use notepad as a powerful tool to control and manipulate computer programs and services. By using these tips and tricks, you may prank and make fun with your friends. Check it out!

15 Amazing Tricks About Internet, I bet you don’t know these

1. Turn Notepad into a Diary

You can now turn your Notepad into a diary using this cool and amazing trick. Most of the people might not be knowing that we can use Notepad as a diary as well which adds the date and time stamp on its own. This is one of the most amazing notepad hacks which you must try today. Just follow the simple steps given below to perform this notepad trick:

  • Initially, open Notepad.
  • In the first line, type .LOG.

Cool Notepad Tricks

  • Now save this file as a .txt  file. Then, write something on the notepad and again save the file.
  • Close the saved file and when you open it then, you will notice it being saved with the edited time as well as the date.

    5 WhatsApp Hacks you never know Till now

2. Shutdown Your Windows PC Using Notepad

This is a notepad trick which you will find helpful many times. There come many times when you are not able to shut down your computer using the shutdown button, in that case, you can use this trick to shut down your PC super-fast.

  • Firstly, open Notepad.
  • In the first line, type @echo off.
  • In the second line, type msg * Shutdown computer
  • In the third line, type shutdown –c “Sleep Tight” –s
  • Save this file with a .BAT extension. In order to save the file with the .bat extension, you have to select file type as All Files from the drop-down menu.

Shutdown Notepad Trick

  • The next time when you click on this file, Windows will get shut down automatically.

3. Test Your Anti-Virus Using Notepad

Do you want to check if your Antivirus’ real-time protection is working correctly or not? Then the this European Institute for Computer Antivirus Research (EICAR) code will help you in that. Using this, you can also test your anti-virus program for its effectiveness using a simple notepad trick. Just follow the steps given below to know more:

  • Open Notepad.
  • Copy the code give below in the notepad file:
  • Save it with a .exe extension like testantivirus.exe

Test Antivirus - Notepad

  • Once you save this file, your anti-virus program will detect the file (virus) immediately and will attempt to delete it.
  • If this happens then your Antivirus is working properly. If not, then it’s time to look for some other reliable program.

4. Create A Password Protected Folder Using Notepad

It is not necessary to make use of some folder locking software when your simple text editor, Notepad can lock your folders. It is quite important to protect your folder with a password and it could be profitable so many times, and depending on software can get you down anytime as there are so many password manager software out there which uploads data on their servers, so that kind of software can’t are not safe when keeping security in mind. To lock folders using notepad, you can follow the below steps.

  • Open a new document in notepad.
  • Now copy the below code into the new Notepad document.


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 folder

set/p “pass=>”

if NOT %pass%== 123456789 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


  • You will get a default password as “123456789”. Just change this with your own new password.
  • Select File Type as All Files (*.*) and save it as private.bat.
  • When you click on the private.bat shortcut, it will create a private folder. You can move all your confidential files here.

Save Private Data

  • Once done, close the Private Folder.
  • Now, no one will be able to access this folder without knowing the password.

5. Make PC to Speak Your Sentence

This Notepad trick will make computer speak whatever you type in the provided text box. To use this trick, follow these steps:

  • Open Notepad.
  • Just copy and paste this command into the notepad.

Dim message, sapi

message=InputBox(“What do you want me to say?”,”Speak to Me”)

Set sapi=CreateObject(“sapi.spvoice”)

sapi.Speak message

  • Now, save the file as speak.vbs. You can either save the file type as All files. 

Speak to me

  • Double-click the file and it will open a prompt. Enter the sentence you want your PC or Laptop to speak.
  • Hit OK and Notepad will speak the sentence for you.
  • Cool trick!! Isn’t it??

6. Pop Out CD Drive Continuously

Do note that it is a notepad hack which should be performed by keeping some attention in mind. By implementing this funny notepad trick, the CD Drive of the system will keep popping out until you restart your system. So, before doing this, make sure you have access to restart your system. Just follow below steps to do it properly.

  • Open a new notepad file. Just copy and paste the below commands in the empty notepad file.

Set oWMP = CreateObject(“WMPlayer.OCX.7”)

Set colCDROMs = oWMP.cdromCollection


ifcolCDROMs.Count>= 1 then

For i = 0 to colCDROMs.Count – 1



For i = 0 to colCDROMs.Count – 1



End If

wscript.sleep 5000


  • Now save the notepad file with a .vbs extension. For doing so, simply enter thename of the file as your wish and add .vbs just after the name, and in file type option, choose All Files from the drop down menu.
  • When you double-click on the saved file, the CD drive of the system will continually pop out.

7. Make Your Keyboard LED Dance

Your keyboard has three LEDs above Numpad of Scroll Lock, Caps Lock, and Num Lock. This Notepad trick will make those three LED continually on and off, creating dancing effects. In this trick you will see your keyboard led will be dancing continuously. Just follow these steps to do so:

  • Open Notepad.
  • Enter the following code:

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

  • Just save the file with .vbs extension and it could be something like this, Dance.vbs.
  • Click the file to run and all your three LED lights will start dancing.

LED Lights on Keyboard

  • If you want to stop it then open Task Manager by pressing ctrl + shift + Esc. Now switch to process tab and search wscript.exe and terminate it.

8. Matrix Effect

Just follow the steps and see the amazing matrix effect happen in your DOS window:

  • Open Notepad.
  • Copy the below mentioned text in your notepad file:

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

  • Save the file with .bat extension like Matrix.bat.

Matrix Effect - Notepad

  • That’s it. Just open the file to see the matrix effect right before your eyes!

9. World Trade Center Attack Image

You might be knowing the attack of the World Trade Center on 9/11. The flight number of the plane was Q33NY and in this trick, you will see the same image like when world trade center gets attacked.

  • Open the notepad and type Q33N (in capital).
  • Now increase the font size to 72 and change the font style to Wingdings.
  • Just look at the image below:

World Trade Center Attack Image

  • We name this trick a contemporary or anything but it will surely surprise you and your friends.

10. Open Notepad continuously

  • Open Notepad.
  • Paste the following code into your notepad file:

@ECHO off


START %SystemRoot%system32notepad.exe

GOTO top

  • Save the file with any name nut with .bat extension and close it.
  • Now open the file and see how it annoys you by opening notepad again and again.

11. Convert Text Into Audio Using Notepad

  • Open Notepad file on your Windows PC.
  • Copy and paste the below-mentioned code:

Dim msg, sapi
msg=InputBox(“Enter your text for conversion–”,”TechVorm Text-To-Audio Converter”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak msg

  • Save this file with any name with .vbs as an extension. For example: Text-To-Audio.vbs
  • That’s it! You can now use your Text to Audio converter.
  • Now open the saved file and key in the text you want to convert and click OK.

12. Create A Batch File Virus Using Notepad

This is the most funniest and interesting Notepad prank. The best thing about this prank is that it looks like an actual virus attack. If you have a good antivirus then it detects this fake virus as a Trojan. Follow the steps below:

  • Firstly, open Run and type Notepad and hit Enter. Notepad will appear.
  • Now copy the below code and paste it into Notepad.



color 0a


@echo off

echo Wscript.Sleep

echo Wscript.Sleep 5000>C:sleep5000.vbs

echo Wscript.Sleep 3000>C:sleep3000.vbs

echo Wscript.Sleep 4000>C:sleep4000.vbs

echo Wscript.Sleep 2000>C:sleep2000.vbs

cd %systemroot%System32



start /w wscript.exe C:sleep3000.vbs

echo Deleting Critical System Files…

echo del *.*

start /w wscript.exe C:sleep3000.vbs

echo Deletion Successful!

start /w wscript.exe C:sleep2000.vbs




echo Deleting Root Partition…

start /w wscript.exe C:sleep2000.vbs

echo del %SYSTEMROOT%

start /w wscript.exe C:sleep4000.vbs

echo Deletion Successful!

start /w wscript.exe C:sleep2000.vbs




echo Creating Directory h4x…

cd C:Documents and SettingsAll Users

Start MenuPrograms mkdir h4x

start /w wscript.exe C:sleep3000.vbs

echo Directory Creation Successful!




echo Execution Attempt 1…

start /w wscript.exe C:sleep3000.vbs

echo cd C:Documents and SettingsAll Users

Start MenuProgramsStartuph4x

echo start hax.exe

start /w wscript.exe C:sleep3000.vbs

echo Virus Executed!



start /w wscript.exe C:sleep2000.vbs 

echo Disabling Windows Firewall…

start /w wscript.exe C:sleep2000.vbs

echo Killing all processes… start /w wscript.exe C:sleep2000.vbs

echo Allowing virus to boot from startup… 

start /w wscript.exe C:sleep2000.vbs



echo Virus has been executed successfully!

start /w wscript.exe C:sleep2000.vbs echo:

echo Have fun!

start /w wscript.exe C:sleep2000.vbs


shutdown -s -t 10 -c “Your computer has committed to death. Have a nice day.”

  • Now save the file with a .bat extension like virus.bat.

Virus on Notepad

  • Send the file to your friends and tell them to Run the file.

13. Type “You are a Fool” Continuously

  • Open Notepad.
  • Paste the following code into the notepad file:

Set wshShell = wscript.CreateObject(“WScript.Shell”)


wscript.sleep 100

wshshell.sendkeys “You are a fool.”


  • Save the file with any name (It’s your choice) but, save it with .vbs extension and close the file.
  • Open the file and see how it makes you type!

NOTE: In order to stop the vbs script, open task manager and end the wscript.exe process:
Warning: But, this trick might be little messy that makes all your windows and current running process blink numerous times and shows the message as “You are a Fool”! So, before trying this trick, please be careful!

13. Open Notepad continuously

  • Open Notepad.
  • Paste the following code into your notepad file:

@ECHO off


START %SystemRoot%system32notepad.exe

GOTO top

  • Save the file with any name but with .bat extension and close it.
  • Now open the file and see how it annoys you by opening notepad again and again.

14. Disable the Mouse

This is another interesting notepad trick that disables your mouse after double clicking the file that is created by using the code given below:

  • Open Notepad.
  • Enter the following code in the notepad file:

rem Disable Mouse
set key=”HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4

  • Save the file with Name.vbs extension and run it.
  • This trick disables your mouse.

15. Change The Header/Footer Of Your Notepad File

Suppose, if you want to get a printout of your notepad file, by default it starts with “Untitled” or the filename at the top, and “Page” on the bottom. If you want to get rid of it or want to change it, just follow the simple steps given below:

  • Open Notepad.
  • Click on File >> Page Setup.
  • Replace the text written in the “Header” and “Footer” box by any of the following codes:

&l Left-align the characters that follow

&c Center the characters that follow

&r Right-align the characters that follow

&d Print the current date

&t Print the current time

&f Print the name of the document

&p Print the page number

Header and Footer

These are the amazing notepad tricks that make you feel interesting and share it with your friends and colleagues. Have more fun!

Leave a Comment

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