Top 7 Cool Notepad Tricks And Hacks For Your PC

In Windows

Cool Notepad Tricks And Hacks

Everyone would be familiar with Notepad. Notepad is the simplest text editor, which comes with every version of windows. Notepad files are saved in “.txt” format which is supported by almost all text editor so, you can open, edit and modify “.txt” file everywhere.

Today, I am going to discuss about 7 cool notepad tips and tricks that will amaze you. You can make prank anyone using these tricks and make fun with your friends.

7 Cool Notepad Tricks And Hacks

1. Create Diary on Notepad

Notepad allows you to create your personal diary. You can save your note with specific time and date. You need to just follow these simple steps.

Open the Notepad

Now, type “.LOG”

Save the file as “log.txt

Cool Notepad Tricks And Hacks

2. Create the Matrix Effect

Are you fan of “Matrix” Movie? You can create your windows of random strings of green digits displayed all over the screen. Copy and paste following code in notepad and save your file in “matrix.bat” format.

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

Cool Notepad Tricks And Hacks

Also Read: How To Recover Deleted Files From Pendrive?

3. Password-Protected folder using Notepad

You can protect your files and folder with password using Notepad. To use this trick, follow the steps below.

@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
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.
goto CONFIRM
:LOCK
ren Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== techxerl.net 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
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

  • Replace the password (techxerl.net).
  • Save the file as private.bat with file type as All files (*.*).
  • Now, no one can open the private.bat without password, so you can move your file, folder, documents here.

Cool Notepad Tricks And Hacks

4. Shut Down your PC With a Message

This is another cool hack of Notepad. You can Shut down your PC with specific messages.  Just copy the code and paste in Notepad. And save file in “Name.bat” extensions. Now double click on saved file and your PC will Shut down soon.

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

Cool Notepad Tricks And Hacks

5. Make Your Keyboard LED to Dancing Keyboard light

This is another cool Notepad hacks that will amaze you. You just need save these code in “Dance.vbs” extension and open with the double click.

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

Cool Notepad Tricks And Hacks

 

6. Make your to Speak Your Message

This cool trick will make your PC to speak whatever you want in the message. Just follow the steps below.

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 in “Speak.vbs” extensions.

Open the file with double click, it will show prompt. Enter the message which you want to speak.

Cool Notepad Tricks And Hacks

7. Eject your Computer CD Drive continuously

This notepad trick allows you to play a prank with your friends. You need to just copy the code and paste into notepad. Save the file with “cdopen.vbs” and now open the file and your CD Drive will start the process close and open.

Set oWMP = CreateObject(“WMPlayer.OCX.7”)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

Must Read: How To Enable Full Disk Encryption In Windows 10?

8. Fake Windows Error message

Copy the following code and paste it into Notepad. Save the file “error.vbs” extensions. Now open the saved file, it will show fake error message on screen.

 

  • Type X=Msgbox(“Message Here”,0+16,”Title Here”)
  • Replace “Message Here” and “Title Here” with your own Error Message and Error-Window Title respectively.

Cool Notepad Tricks And Hacks

Hope you enjoyed this article. Leave a comment below if have any related issue with this. Don,t forget to share this post with friends.

facebook-profile-picture

Arnav Patel

Arnav Patel is the Co-Founder of  Techxerl and aspiring entrepreneur. He likes to  write how-to guides, digital tips and all tech stuff. You can follow me on Facebook and Twitter.

You may also like...