10 Unknown Notepad Shortcuts and Tricks

Notepad has been an integral part of the digital world, like forever! It’s a simple, sophisticated and a common text-only editor, developed for the Microsoft Windows OS. From the 1990s to the present day, all its upgradations have made the program user-friendly and available to millions.

But did you know? There are so many cool notepad tricks and commands in this decent looking software which many of the users are not even aware of. The hacks will blow your mind and leave you in an unexpected shock. Why Notepad why? Why didn’t you tell me all that’s inside you? Therefore, here are 10 must-know notepad tips and tricks that you can make use of in your PC!

1. Diary on Notepad

Notepad allows the user to create diary-like notes which automatically saves your data with date and time. For this function to activate you need to use the following commands:

  • Notepad  
  • Type “.Log” in the blank page
  • Save the existing file as “ Log.text”
  • Type the data you want to save in your diary, you’ll notice the time and date alongside your data saved.

2. Fake Windows Error Message

Interesting isn’t it? Making your own fake Windows error message with your desired message. Well just a small advice, try to keep the language of the error message original to avoid making it look fake. You’re Welcome!

  • Notepad
  • Use the Command: X=Msgbox(“Message Here”,0+16,”Title Here”)  
  • Type your error message in place of “Message Here”
  • Save the document with error.vbs.
  • Click on the file you created to display your error message

3. Force Shut down

You can also save your time and efforts using the notepad shortcuts available. One of the shortcut is to shut down your Windows in the traditional form. To force shutdown your PC in Notepad follow the below steps:

  • Notepad
  • Use the command @echo off on its blank page
  • Type : msg * Shutdown computer in the next line
  • Type: shutdown -c “Sleep Tight”-s in the third
  • Use the .Bat extension after the file name.
  • By clicking on the file you created it will force shutdown your PC

4. Password Protected Folder

Bring on all the enthusiasm, sit back and keep reading as I unveil this. Already boosted your confidence level there?

  • Notepad
  • Paste the following command:


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%== techgyo.com 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


  • Save this existing file as Private.bat, File type being: As All Files (*.*)
  • After creating the file, click on the file “ Private.bat” which will create a folder. Move your desired folders in this folder. Now your secrets are password protected!

Aren’t you feeling the power of these cool functions yet? I told you right!

5. Test your Antivirus

Testing your Antivirus can be done using these commands:

  • Copy paste this command: X5O!P%@AP[4PZX54(P^) 7CC)7}$EICAR-STANDARD- ANTIVIRUS-TEST-FILE!$H+H*
  • After saving this file as text.exe, run the file
  • If your antivirus detects this file, the consider your antivirus is working perfectly or else change your antivirus.

6. Matrix Effect

Matrix fans would love this, just follow the below-mentioned commands:

  • Type: @echo off in the blank page of notepad
  • Following which type: color 02 on the next line.
  • Then paste the following command:


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

goto start

Name the folder with a .bat extension and click on the file you created after saving it and your screen will display the matrix effect

7.  Computer-Generated Narrations

This hack can make your computer to narrate the sentences which you type:

  • Type these commands in the given format:

Dim message, sapi

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

Set sapi=CreateObject(“sapi.spvoice”)

sapi.Speak message

  • Save that file as Speak.vbs
  • By opening the file you created, it will open a dialogue box, by entering the sentence you want the computer to narrate in the given space click OK

8. Bush Hid the facts:

This is a function which opens the file with Unicode rather than showing your message. This uses the 4-3-3-5 pattern when you type characters in the pattern of 4-3-3-5. It works like a bug in the Windows OS. Hence, when you re-open the file, you see some Unicode instead of what you have typed.

  • Notepad
  • Bush hid the facts – type this on the blank page of notepad
  • Save that file
  • Reopen it

Do you already feel like an expert?

9. Disable Mouse Control

This function disables your mouse control, so its pretty obvious that you must have your backup plans.

  • Notepad
  • Copy and paste the following into the same format:

em 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 as Disablemouse.bat

10. Open Notepad Continuously

Want to annoy your sibling? This could be the best prank!

  • Use the command:





  • Save this file with a name using .bat extension.
  • Click the file you created.
  • You can also send this file to one of your friends and make them click on it.

Well, hope you liked the article and found it exciting. We mentioned some simple but unknown notepad tricks and hacks which you can try. Share with us your opinions or experiences. We would love to hear from you!

10 Unknown Notepad Shortcuts and Tricks 1
Megha Kottapalli
Megha is a Technology writer.

Grab your lifetime license to AI Image Generator. Hostinger Hosting