Notepad Tricks


These are the 14 Notepad Tricks that you can try if you are using Windows xp, Windows Vista, Windows 7 based Operating system.

We have compiled the best Notepad Tricks for you which are cool and amazing to try!

You should be responsible enough to choose what to try and what not to try. This is an informative post and we do not take any responsibility from anything that happens using these codes below. I am not trying to scare you but there are some stupid people out there who try these Cool Notepad tricks and complain that something went wrong.

Here are the 14 Notepad Tricks for you:

Notepad Tricks

1) Notepad trick to use it as a Diary

  • Open notepad
  • Type .LOG
  • Save the file as LOG.txt
  • Write anything in it and it will be saved with the time when you edit it.

2) Notepad trick to Test Antivirus

  • Open Notepad.
  • Copy the code give below in the notepad file:
  • Save it with an .exe extension like testvirus.exe

3) Matrix Notepad Trick

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

Save this file as Matrix.bat
Make sure the file type is kept as ALL FILES while saving it as a .bat file.

Don't forget to Download Revo Uninstaller free.

4) Notepad Trick to Open and close CD/DVD Drive

  • Open Notepad.
  • Copy the code given below onto the notepad file:

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 it as “Anything.VBS”.

You should also check out Windows 7 Keyboard Shortcuts which has all the keyboard tricks that you can think of.

5) Funny Notepad Trick to annoy your friends

  • Open Notepad.
  • Paste the following code in the notepad file:

@ECHO off


msg * Hey

msg * Want to have Fun?

msg * You do?

msg * We will both have fun, alright?

msg * More fun?


  • Save the file with any file name but with .bat as extension and close it. For eg. cool.bat

6) Notepad Trick to shutdown computer forcefully

  • Open Notepad.
  • Paste the following code in it:

@echo off

msg * Shutdown computer.

shutdown -c “Sleep Tight” -s

7) Notepad Trick to Lock Folders

Lets lock a folder using notepad trick which is named as PICS in your D: drive , whose path is D:PICS

Then the code should be something like this:
ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Pics is your folder name. Use the name of the folder in place for pics. Save the text file as lock.bat in the same drive.

To unlock this locked folder:

Open another new notepad text file and type the following:
ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics

Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it to the folder name you want to lock it.

Have you tried Internet Explorer 9 yet? It's free:

Download Internet Explorer 9

8 ) Notepad Trick to type slowly

  • Open Notepad.
  • Paste the following code in the notepad 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! “

  • Save the file with any name and with .vbs extension and close it.

Now open the file and see how freakishly slow the messages appear!

NOTE: In order to stop it. Follow the “Note” given in 10th Trick.

9) Infinite Notepad Trick

  • Open Notepad.
  • Paste the following code in your notepad file:

@ECHO off


START %SystemRoot%system32notepad.exe

GOTO top

  • Save the file with any name nut with .bat extension and close it.

10) Notepad Trick - Text to Audio

  1. Open Notepad file on your Windows PC.
  2. Copy and paste the below mentioned code :
    Dim msg, sapi
    msg=InputBox("Enter your text for conversion–","TechVorm Text-To-Audio Converter")
    Set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg
  3. Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs

11) Notepad Trick - BUSH HID THE FACTS

  • Open notepad.
  • Save that file.
  • Close it
  • Open It Again See…

12) Notepad Trick Print Tree Root
Open NOTEPAD and enter {print tree root}
After that hit enter and type C:windowssystem
After that hit enter and type {print C:windowssystemwinlog
Hit enter and type 4*43″$@[455]3hr4~
Then save the file as teekids in C:windowssystem.

13) World Trade Center Notepad Trick

Open your Notepad

Type the flight number Q33N

Increase the Font Size to 72

Change the Font to Wingdings

14) Notepad Trick to Format Hard disk

Open Notepad and type:

a) Code : 01001011000111110010010101010101010000011111100000

b) Save As it as  anything.EXE

c) Run it. Beware that the entire HDD will be erased

I hope you enjoyed these awesome and cool Notepad tricks, if you liked it then share it with your friends on Facebook.

Thanks to Techvorm and tweakandtrick for some of the above tricks!

Posted Under: Microsoft
About Kamal Hasa

Hi, This is Kamal and am the founder of I hope you found this blog useful. Please leave comments if you want to share anything with me.

Connect with me - Kamal Hasa on Google Plus

  • Abhimanyu

    Woho! Nice. Lemme try some of these..!

  • Tech Crates

    Excellent….never knew about these tricks !! Thanks for sharing


    vá no word e digita =rand (200,99)e depois tecle trez vezes enter

  • iujubbn

    Code : 01001011000111110010010101010101010000011111100000

  • ramya

    11.Notepad Trick – BUSH HID THE FACTS

    its not working

    • kbt

      I works only in windows 7

      • PJ

        It is working on my XP

      • ba

        it not works on my laptop with win 7


    Bugs tricks not working..

  • liku

    woooooooooooow this thing works!!!!!

  • Nagaraj

    Best trick is anti-virus trick. its funny while seeing it on other compute. I tried in my friends laptop.. Great work. thanks for it.

  • justralph17 like the text to audio trick

  • ummar

    thanks a lot…….

  • Akt

    Open Notepad.
    start ff.bat

    save the file as “ff.bat”. Double click it :D

    • Carson He

      What does it do?

      • CO

        Its just like the infinite notepad trick, but more scary looking.

  • Carson He

    I managed to get out of the infitie notepad trick

  • latinalia

    whoa theese really work

  • linkinns

    how can i combine two or more commands in “notepad.bat” pliz!!! F1(help)

  • Pingback: Notepad2 - Free Download - Text Editor

  • Shajid

    Nice Stuffs Dude , but have more Notepad tricks. :D Search it and Experiment your self :D

  • HI


  • bosskid123

    cd trick not working btw i hav windows 7

  • anon

    is there a way of changing the matrix one so that the numbers are just 1s and 0s?

    • bARRY

      you change %random% to %010010000001% or something <3

    • Trey


      @echo off
      color 0a
      title Matrix

      echo 101010110001011010011
      echo 100101010100101101010
      echo 100100110101010010101
      echo 101010101001011101010
      goto top

    • Waqas Mustafa


  • reo

    #11 wtf

  • anon

    is there any way to make the numbers in the matrix trick fall slower?

  • kishan

    password & translet trick r useful for me thank u

  • nate d

    i cant get the repeating messages one or the freaking slow type one to work on this vista!

  • Pingback: Notepad Portable - Free Download

  • Usman Nadeem

    how to hack computer administrator pasword

    • Kamal Hasa

      Hello Usman, We do not write about Hacking and other similar stuffs..

  • Ruhith khan

    Awe-some tricks

    • Kamal Hasa

      You are welcome Ruhith.. Which one of these Notepad tricks you liked the most??

  • Anthony


  • BIshal Das

    nice tricks /./.?.?>?.?>?.

  • sachin

    hi i want birthday wish notepad how can do

  • Mr. TriCkaTrE

    Old Tricks That EXPIRED From Year Ago And Slow Typing Not Working

  • Scr33m!ngD3v!Ls

    .vbs and .bat file is traceable with antivirus the antivirus you’ve installed auto delete the file you create.

    Stealing admin pasword is just a simple 123 steps.

    but then awesome tricks.

    Search and Experiment!

  • Will Runner

    these are helpfull

  • Abissak

    few of them don’t work

  • Dr.Duck

    The 14th trick claims to format your Hdd but, will it erase the OS too?

    • Markjego Dejesus

      Windows folder is in your HDD,so it removes the os too.

  • xristos

    the BUSH HID THE FACTS is cool!

  • brit

    for the text to audio converter trick you can take out techvorm stuff so it looks like this:

    Dim msg, sapi
    msg=InputBox(“Enter your text for conversion”,” Text-To-Audio Converter”)
    Set sapi=CreateObject(“sapi.spvoice”)
    sapi.Speak msg

  • romz

    how to create notepad file that saves all what i am typing?

  • romz

    how to create a notepad file that saves all i am typing?