10 Best Notepad Tricks, Hacks and Commands

Notepad is the simplest and most powerful text editor provided by Microsoft. It is a universal editor as it works with many file formats and is available in every version of windows.

Here are some amazing and useful notepad tricks and hacks. These usually exist due to multiple format support in notepad. You can create a number of batch files, VB script files and windows command string using notepad.

P.S.Beware while editing the batch files (.bat). They can harm your computer. 

  • In case a trick doesn’t work, first check for typos in your source file.

notepad-tricks

Create a log file for multiple entries:

This is the simplest and most useful notepad-trick. With this trick it automatically puts the date and time each time you make a new entry or open the file.

  • Open a new file in notepad
  • Type .LOG
  • Save the file and close notepad
  • Now open the file again and there will be date & time enteredalready
  • It will be entered each time you open the file.
  • That’s it.

Also see: Whatsapp Hacks and Tricks You Should Know

Password-protect a folder (using batch file):

You may have wish a number of times to password protect your personal folder. This is reallyhandy with this trick. Just open notepad and follow the steps below.

  • Create a new file
  • Copy the code 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 May I lock this 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%== foxgoto 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
  • (fox) written in red is the password of the folder. You can edit it.
  • Now save the file with “.bat” extension e.g. personal.bat (The file type should be all files.)
  • Click private.bat in windows explorer.
  • It will create a private folder
  • Move your files in this folder
  • Now one can’t access this folder without the password.

notepad_trick_hach

Make your computer speak what you type:

This is a very famous trick.You have to type and your computer speaks what you type. Follow the steps below.

  • Open notepad and create a new file
  • Copy the code below
    Dim message, sapi
    message=InputBox(“Type to speak.”,”Speak to Me”)
    Set sapi=CreateObject(“sapi.spvoice”)
    Speak message
  • Save the file as speak.vbs
  • Now open it with double click or tap
  • It will open a prompt,
  • Type the text you want and it will speak the same.

 

Bonus trick: Put a custom welcoming voice message when you login windows-

You can set a custom voice welcoming message in your computer. Here follows the steps.

  • Open notepad and create a new file.
  • Copy this code-
    Dim speaks, speech
    speaks=”Welcome Ash!!”
    Set speech = CreateObject (“sapi.spvoice”)
    Speak speaks
  • The text in red is your welcome message; you can edit it.
  • Now save the file as vbs and add this to the startup folder,
  • And you’re done. Next time when you’ll login to your computer, it will be played itself.

(9/11) World trade center trick:

It’s one of another simplest notepad-trick. It based on the plane hijacked in 9/11 was Q33NY.

  • Open notepad and create new file
  • Change your font to Wingdingsand set font size to 72.
  • Now type Q33N and see what comes next.

Recommended: Watch YouTube Videos Blocked/Not-Available in Your Country

Download Showbox for Mac, iPad and Apple I-phone OS (iOS)

Create matrix code screen on your computer:

Most of you have loved the movie Matrix. Here is a simple trick for Neo’s lovers.

  • Open notepad and create a new file.
  • Copy-paste the string from here
    @echo off

color 02

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%%random% %random% %random% %random% %random% %random% %random% %random% %random% %random%%random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start

  • Now save the file as exe
  • Double-click it and you’re done.

 

Flash your keyboard LED lights:

  • Open notepad and create a new file.
  • Copy the code below
    Set wshShell =wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

wshshell.sendkeys “{NUMLOCK}”

wshshell.sendkeys “{SCROLLLOCK}”

loop

  • Save the file as vbs
  • Now double-click it and watch flashing keyboard lights.

 

Format your hard disk with just one click (use with precaution):

This can harm your system so use at your own risk.

  • Open notepad and create a new file
  • Copy the code below
    @echo off

Del D:\ *.* |y

  • Save the file asbat
  • Now you can double click on it to format your D drive

P.S.This trick doesn’t work for your primary drive.

Shut down your PC with just one click (use with precaution):

this can result in data loss but can save valuable time so beware.

  • Open notepad and create a new file.
  • Copy the code below
    @echo off

msg * Windows is shutting down…

shutdown -c “Sleep Tight” -s

  • Save the file asbat
  • Now you can double-click it whenever you want to shut down your PC.

 

Show nonstop messages on the screen:

  • Open notepad and create a new file
  • Copy the code below
    @echo off

:Begin

msg * Hi

msg * How are you ?

msg * I am Ash.

msg *Let’s have fun together.

msg * Because you have been o-w-n-e-d

GOTO BEGIN

  • Save the file asbat
  • Now if one click it, he’ll get continuous messages.

 

Hit continuous Enter-key:

This can be a very good trick to prank with your friend just mail him and ask to check it.

  • Open notepad and create a new file.
  • Copy the code below
    Set wshShell = wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “~(enter)”

loop

  • Save the file as vbs and that’s it.

LEAVE A REPLY

Please enter your comment!
Please enter your name here