Notepad is one of the oldest built-in apps in Windows. It’s also arguably the simplest text editor you can find on Windows. It’s so simple that people can’t use it for any extensive work, such as coding. But still, it’s a great editor for easy and quick file editing, especially when you are on a computer that doesn’t have any other fancy editors like Notepad++ installed.
Besides, here are three pretty fun tricks that you can use in Notepad.
Table of Contents
Use as a personal diary with auto-timestamped entires
You heard that right. It allows you to create a text file in a format that inserts the date and timestamp automatically every time you open the file.
- Create a new text file and open it in Notepad.
- Type .LOG in the first line.
- Save and close the file. You can name it whatever you like.
Now, from this point on, every time you open this file, the timestamp will be inserted automatically at the end of the file, waiting for your next entry to the file.
Making a virus sample to test your anti-virus software
Create a new file in Notepad, paste in the following code to the file and save it.
Then, rename it to a .exe file so it becomes an executable file.
Now, double-click the file and see if your anti-virus is able to pick it up.
Why is this special series of the string considered as a virus? Check out this intended use to find out.
This virus sample above is not intended to test how good and reliable your anti-virus software is. Rather, it’s there to test if the anti-virus software you invested and installed is working.
Making your own Matrix effects right on your own computer
Create a new file in Notepad, paste in the following code and save as a .bat file that is executable.
@echo off color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto start
Now, double-click it and enjoy the Matrix effects appearing on your screen.
That’s about it for now. Enjoy.