As you know, Notepad is a plain text editor that creates .txt files. Text typed in this tiny application is not formatted and can be easily exported to any other text editor. Although .txt is the default file extension of Notepad, it can also open files with several other extensions. One of the really good use of Notepad is to remove formatting (created by MS-Word or HTML Web pages) and get completely plain text. But there are a lot of other interesting things that you can do with this little magic! Let’s learn!
1. Notepad Code for Matrix Style Raining Code
Remember posters of The Matrix movie? Green colored letters falling from top to bottom on a black background. You can create a similar never-ending effect using a simple Notepad trick. The Code How it works? When you save a file with .bat extension, it becomes an executable file. When you open such a file, your computer runs the program code saved in the file. The above give code creates randomly generated numbers and paint them green colored. This program will keep on generating random numbers until you close the command prompt window. TIP 1: You can change the color of falling text by changing color 02 to, for example, color 03. Try using different values and see which colors your like! TIP 2: A more accurate Matrix Raining Code effect can be created with the following code. Try it out. It’s been taken from WikiHow:
2. Shutdown Computer with a Message using Notepad Code
What if you could easily shut down your computer and also get it to say good night to you! You can set it up very easily. Copy the following code in Notepad and save the file as shutdown.bat (in fact you can use any name, just keep the .bat extension) When you will open this file; your computer will prompt you that it will shutdown now. If you say OK, it will.
3. Create a Log (Diary) using Notepad
If you have the habit of regularly taking notes in a Notepad file, this feature will be of great use to you. This feature of Notepad will automatically add date and time when you’ll close the file.
4. Text to Speech using Notepad
A small piece of Notepad code can allows you to create an application that will read out aloud whatever text you will give it as input. This feature really comes handy if you quickly want to convert a piece of text into spoken words.
5. Automatically Eject CD Drive
The following Notepad code can automatically eject CD drive of your computer and keep on doing it repeatedly. You can use this script to bother your friends a little bit if that sounds like fun. Add the following code in Notepad and save the file as opencd.vbs. Double click the saved file and see what happens. Warning: Please note that this script will loop on and may cause the computer to hang.
6. Open Notepad Repeatedly
Add the following code in a new Notepad file and save it with .vbs extension. This code will keep on opening Notepad instances. As a result, your computer screen will be full of just Notepad windows. Warning: This is another trick that may make your computer to hang. Computer may become too busy in opening more and more Notepad windows that it will hardly get any time to do anything else. So, try it with care!
7. Make Lock LEDs on Keyboard Dance
Every standard PC keyboard has three lock keys, namely Caps-lock, Num-lock and Scroll-lock. Each of these keys has an LED light on keyboard that shows the status of that lock. The following code can make these LED lights blink in a fashion so as to make them appear as dancing lights. Open Notepad and add the following code in it. Save the file as led.vbs and when you will open this file, the LED light will begin to dance! Warning: This trick may make your computer too busy to respond.
8. Bush Hid the Facts
Some of the older versions of Notepad have an interesting bug in it. Write four words of 4,3,3 and 5 letters and then save the file. When you will open this file again, instead of what you had written, you will see gibberish text. Following are some of the examples of such 4-3-3-5 sentences: This happens because of a bug in Windows. However, in newer versions of Windows, this bug has been taken care of. You can give it a try to see what your computer shows!
9. World Trade Center Attack
This Notepad trick is basically a hoax. Nevertheless it produces interesting result. When you do this, you get to see something that will remind you of the terrorist attack on twin World Trade Tower. Wingdings is a font that has pictorial symbols instead of alphabetical letters.
10. Make Password Protected Folder using Notepad
This is probably the most useful Notepad code on the list. This trick creates a password protected private folder in your computer. Whatever you will place inside this folder will remain private until the opener provides a password. Open Notepad and copy the following code in it: Save the file as private.bat and close Notepad. Double click on private.bat file to open it. This will create a new folder called Private. Place anything in it that you want to keep password-protected. Close the password-protected folder. The next time you will open it, it will ask for a password. The password in the above code is techwelkin. We have highlighted the password in the above code. You can change it to anything you want in the the Notepad file. You should keep a strong password for added security (you can use our strong password generator). These were some of the coolest Notepad codes and tricks. We will add more Notepad tricks in this list as and when we will discover them. We hope that this article was useful for you. Thank you for using TechWelkin!