5 Super Cool Notepad Tricks, Hacks & Commands You Should Know

5 Super Cool Notepad Tricks, Hacks & Commands: Everyone is familiar with Notepad, we are talking about the default text editor of Windows operating system. Notepad is the simplest text editor the world has ever seen.

Notepad always becomes a handy tool to save some text files in hurry. Notepad files are saved in ‘.txt’ the format which is supported in almost every text editor which makes it easy to modify the text file anywhere.

Related: 5 Cool Android Shortcuts That Every User Should Know

5 Super Cool Notepad Tricks, Hacks & Commands You Should Know

There are several people who prefer to use the alternatives of Notepad like Notepad++. But, do you know Notepad can do much more than just read and edit text?

Below, I am going to share you five cool notepad tips and tricks that will amaze you. You can use these notepad tricks to prank your friends. Here are the best Notepad tips and tricks:

Related: 5 Cool Things You Can Do With USB OTG Cable In Android

1) Creating a Diary on Notepad:

You can create a personal diary on your Notepad. This trick will help you to save your notepad with specific time and date. Follow the steps below to create the diary on Notepad:

Open the Notepad – type .Log and then save the file as log.txt

2) Matrix Effect

Do you love Matrix series? Remember the green digit that was displayed in the movie. You can create the same effect on your computer.

Open the notepad and paste the following code into the notepad:

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

Now save the file as matrix.bat

3) Password Protect Folder

Do you know you can password protect a folder in your Windows computer using a notepad? Here’s how to do it- copy and paste the following code in 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 folder
set/p “pass=>”
if NOT %pass%== techcaption.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

After pasting the code you need to replace the password (techcaption.com) with your chosen password. Save the file as private.bat and with file type as All Files (*.*)

You can move files and folders inside private.bat, you need to enter the password to unlock the folder.

Related: 5 Cool Things You Didn’t Know Your Android Could Do

4) Shut Down With A Message

This is another cool trick you can perform using Notepad. This trick will display a message whenever you shut down your computer. Copy and paste the following code into the notepad.

@echo off
Shutdown.exe -s -t 10
msg * I love techcaption!

You need to replace the ‘I Love techcaption!’ with your shutdown message. Save the file in .bat format for example shutdown.bat

5) Eject CD Drive continuously

You can use this trick to play a prank with your friends. This Notepad trick will eject your computer CD drive continuously. Copy and paste the following code into the notepad:

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

After pasting the code in the notepad, you need to save the file with cdopen.vbs. To stop the script, open task manager and close the process wscript.exe

Related: 10 Must Have Apps For Your New Android Smartphone

These are the five best notepad tricks that you can perform to have some fun. Hope you enjoyed the article. Don’t forget to share this post with friends.

Rate this post


  1. Rethabile July 5, 2017
  2. Lokesh August 10, 2017

Add Comment