3 Awesome Windows Notepad Tricks You Must Try
Pinterest Stumbleupon Whatsapp

You probably don’t think much of Notepad in Windows. Compared to tools like Microsoft Word and third-party text editors and IDEs, it doesn’t really shine for any particular purpose. But that doesn’t mean it’s useless!

In fact, with a little bit of old-school code in VBScript or even DOS/shell commands, you can write some fun mini-programs. Let’s take a quick look at three of the more interesting ones.

Notepad Trick: Enter the Matrix

Want a budget re-creation of effects from The Matrix on your PC? You can do it with just a few lines. Open up a new Notepad document, then paste in the following code:

@echo off
color 02
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks

Save the file as Matrix.bat. The name isn’t important — just make sure you save it as a BAT batch file. Then double-click on it wherever you’ve saved it, and you’ll ascend to elite hacker status.

3 Awesome Windows Notepad Tricks You Must Try Matrix Effect BAT

Notepad Trick: Your Computer Talks!

Nowadays, it’s nothing out of the ordinary to hear your PC talk thanks to Cortana and similar tools. But when Windows was new, it was crazy to hear “speech” from your computer. You can relive those moments with Notepad. First, open a new Notepad document and paste this code in:

Dim Message, Speak
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message

Save it as Talking.vbs, although the name can be whatever you want. Just make sure it ends in VBS. Double-click on this file and enter some text — you’ll gasp in wonder when your PC speaks it to you!

Notepad Trick: Generate a New PIN

We recommend using a password manager, because keeping unique passwords for every site is tough. But if you still don’t want to use a tool like LastPass, you can have Windows generate a new code for you.

Unfortunately, this trick only generates a random four or five-digit number. So it’s more suitable for a bank PIN or something of that nature. Paste the following code into a fresh Notepad file:

@echo off
goto Start
title Password Generator
echo I will make you a new password. 
echo Please write the password down somewhere in case you forget it. 
echo ----------------------------------------¬-----------------------
echo 1) 1 Random Password
echo 2) 5 Random Passwords
echo 3) 10 Random Passwords
echo Input your choice
set input=
set /p input= Choice: 
if %input%==1 goto A if NOT goto Start2
if %input%==2 goto B if NOT goto Start2
if %input%==3 goto C if NOT goto Start2
echo Your password is %random%
echo Now choose what you want to do. 
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice: 
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
echo Your 5 passwords are %random%, %random%, %random%, %random%, %random%.
echo Now choose what you want to do. 
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice: 
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
echo Your 10 Passwords are %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%, %random%
echo Now choose what you want to do. 
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice: 
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2

Save it as Generator.bat. It’s the same deal as before — the name doesn’t matter as long as it ends in BAT. Double-click it to open, and you’ll see a simple menu. You can choose whether to create one, five, or ten passwords.

3 Awesome Windows Notepad Tricks You Must Try Windows Password Generator BAT

Did you enjoy these Notepad tricks? What other types of mini-programs have you created with VBS or BAT files? Share with us in the comments!

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Shahrzaad Parekh
    January 17, 2018 at 8:44 am

    All you've done is write out some scripts and batch files. None are really tips and tricks for Notepad. So, I'll do your job for you...

    1. Use Notepad as a diary or log
    Start a new file in Notepad and enter .LOG
    (That's a period/full-stop followed by LOG) into the very first line of the file. Give anmae and save the file. Each time you reopen that file, the current Date and Time will be automatically added to the file.

    2. Open Page Setup from File menu and use the following codes in the header and footer fields for the particular purpose:

    &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
    &c Center the characters that follow
    &r Right-align the characters that follow

    3. A very similar article to this was already published - https://www.makeuseof.com/tag/8-surprising-windows-notepad-tricks-must-know/

  2. Nikolaj O
    January 16, 2018 at 2:04 pm

    i would like to redo the matrix one, instead of the color 02, type in "A" instead, its a bit brighter and more pleasing to look at

  3. Chuck K.
    January 16, 2018 at 10:12 am

    Easy fun shtuff. Since I don't program or am not into that. Cute for people wanting have some fun. Yes you can do this in other ways if you are an expert on the computer, but target audience includes novices and you make it easy to have a bit of fun and guess what? They will learn something too. Poppyq needs to hit a tech site for what he wants to do. I criticize when it's over the top but this right cheer is interesting for people who don't know much about programming. lol

  4. poppyq
    January 16, 2018 at 9:52 am

    How are these Notepad tricks? You could create any of these files with any text editor and get the same results. These are "batch file and VBScript tricks". I expected something like, "Use this keyboard shortcut in Notepad, and it will turn on a super duper status bar."

    • Jonathan Peel
      January 16, 2018 at 12:34 pm

      I agree.
      These are fun script files you can create and run in Windows, they have nothing to do with Notepad, and are definitely not Notepad tricks.