Introduction: Top Eight Interesting Notepad Tricks

About: I love to design new things and make products. i do design things in fusion 360 and love 3d printing. i have a keen interest in robotics and automation on a major. i constantly do research and learn about new …

Notepad is the most basic software which is found in the Windows Operating System. It can be used to read and write text file. But do you know this piece of software can do a lot more than just a text writing.

So , In this Instructable I will show Ten Interesting Notepad Tricks That You can try right now on your Computer

Check More at My blog Here : -

Step 1: Create a Diary on a Notepad

This Notepad trick will allow you to create Notepad note in such a format that whenever you edit your note, it will get saved with date and time stamp automatically.

To do this, follow these steps:

  • Open Notepad
  • Type .LOG in first line.
  • Save the file as Log.txt
  • Now, write something to the file and it will automatically get saved with edited date and time.

Now you can create Diaries right in Your computer without any need of additional Software.

How Cool is That?

Step 2: Create Fake Windows Errors With Notepad

This is another very cool Notepad trick that allows you to create Fake error messages. You can create Fake error message with any message.

To do this, follow these steps:

  • Open Notepad
  • Type X=Msgbox("Message Here",0+16,"Title Here")
  • Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
  • Save the file with error.vbs.
  • Now, click the file and you’ll get your custom-made Windows error message.

Step 3: Force Shutdown Your Windows

This trick will let you force shutdown your Windows in a single-click.If You don't want to go in start menu and waste a couple of seconds.

Follow These Steps:-

  • Open Notepad
  • Paste @echo off in first line.
  • Paste msg * Shutdown computer in second line.
  • Paste shutdown -c “Sleep Tight” -s in third line
  • Save the file with .BAT extension. For example, shutdown.bat
  • Click on your file and it will automatically shutdown your Windows.

Step 4: Create Password-protected Folder Using Notepad

Why to use any folder-locking software when your simple text editor, Notepad can lock your folders? To use this Notepad tricks. Follow these steps:-

  • Open Notepad
  • Copy the following code:


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%== HardiqV 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


  • HardiqV is password. Change it to your own password.
  • Save the file as private.bat with File Type As All Files (*.*).
  • Now, when you click private.bat, it will create a Private folder. Move your private files, documents and folders here.
  • Close Private folder.
  • Now, no one will be able to open the folder without the password.

Step 5: Make Computer to Speak Your Sentence

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

  • Open Notepad
  • Copy & paste this command:
  • Dim message, sapimessage=InputBox("What do you want me to say?","Speak to Me")Set sapi=CreateObject("sapi.spvoice")sapi.Speak message
  • Save the file as speak.vbs.
  • Double-click the file and it will open a prompt. Enter the sentence you want your computer to speak
  • Click OK and Notepad will speak the sentence for you.

Step 6: Make CD Drive Open & Close Again and Again

This notepad prank will make your CD drive open and close again and again continually. To use this notepad trick, use these following steps:

  • Open Notepad
  • Enter the following command:

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

Set colCDROMs = oWMP.cdromCollection


if colCDROMs.Count >= 1 then



For i = 0 to colCDROMs.Count – 1



End If

wscript.sleep 5000


  • Save your notepad file as cdopen.vbs
  • Now, open cdopen.vbs and it will start the process to continuously open and close CD drive

Step 7: Create Matrix Raining Code Screen

Have you watched the movie, “Matrix”? You might have seen a string of green characters appearing at the screen randomly. I am going to do something similar with the help of Notepad. To use this Notepad trick, follow these steps:

  • Open Notepad.
  • Type this command:

@echo off

color 02


echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

  • Save the file as Matrix.bat
  • Click on Matrix.bat and the show begins.

Step 8: 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. To do this, follow these steps:

  • Open Notepad
  • Enter following code

Set wshShell =wscript.CreateObject("WScript.Shell")


wscript.sleep 100

wshshell.sendkeys "{CAPSLOCK}"

wshshell.sendkeys "{NUMLOCK}"

wshshell.sendkeys "{SCROLLLOCK}"


  • Save the file as Dance.vbs
  • Click the file and your all three LED lights will start dancing.

To stop, Shut down or Log off your PC.

Step 9: FINISH

I Hope You liked This Instructable

If So please Favorite it and considering voting me

Check More Here at :