Notepad Tricks: Cool Notepad tricks for Windows

Notepad, the text editor that comes bundled in Windows is an excellent tool for text editing. But that is not the only thing for which notepad is famous. It is also famous for its tricks and hacks. Here is a roundup of some of the best and coolest tricks that you can try using Notepad.

Matrix Falling Code Effect: Notepad CMD (.BAT) Trick

Inspired by the movie Matrix, this falling code trick is extremely popular on social networking websites. Copy and paste the code given below in Notepad and save the file as "Matrix.bat" or *.bat.

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

Notepad tricks
Matrix Falling Code Effect: Notepad Trick

Upon running the bat file, you will see the "Matrix falling code" effect.

VBS Trick for a harmless virus: Make Your Keyboard Type Any Message Any Times Continuously

This VBS trick can make your keyboard type any message continuously. Open Notepad, copy the code given below and save the file as Tricks.vbs or *.vbs. To change the number of times the message is to be displayed, change the 10 (shown in italics) to any number you want. To change the message, edit the part of the code given in bold. To stop this script while it is being executed, open Task Manager and end the WScript.exe (Microsoft Windows Based Script Host) process. In the worst case when you select a too large upper limit or if the system becomes unresponsive, you will need to restart your computer to stop this so only try this after closing all important programs and avoid setting too large an upper limit.

Set wshShell = wscript.CreateObject("WScript.Shell")
wshShell.Run "notepad"
Dim x
x=1
do while x<=10
wscript.sleep 500
wshshell.sendkeys "Your message here. Example: This is a Virus. You have been infected. "
x=x+1
loop
You should ideally try this trick in front of your unsuspecting friends asking them for help to see the fun.


Notepad Virus

A Harmless and Funny Virus with Notepad: Continuously eject CD/DVD drives

This VBS trick will create a code which will continuously eject all your connected Optical drives for 25 seconds. If you put them back in, it will pop them out again. To change the time for execution of the script, replace 5 (given in bold) in the code by any number. The time for execution will increase in multiples of 5 seconds. Example: To run the script for a minute (60 seconds), replace 5 with 12. Copy this code, paste it in Notepad and save the file as Virus.vbs or *.vbs.

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
Dim x
x=1
do while x<=5
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
x=x+1
loop

Double click to open this file and you will be impressed by this awesome trick. To stop the script while it is being executed, you will need to open Task Manager and end the WScript.exe (Microsoft Windows Based Script Host) process. In the worst case when you select a too large time limit or if the system becomes unresponsive, you will need to restart your computer to stop this so only try this after closing all important programs and avoid setting too large a time limit.

Make a Personal Diary (Log) with Notepad (Easter Egg)

Notepad Diary
Notepad Diary
You can use this trick to create a personal log with Notepad which will automatically include the current date and time before your note. To do so, open Notepad and type .LOG in capital letters and press Enter. Save the file. Now, every time you open this file, notepad will automatically insert the current time and date before the note. Just enter your note and save the file each time after making an entry.

All these Notepad tricks are totally harmless and would not harm your PC in any way.  To close any of the VBS trick given, open Task Manager and close the WScript.exe (Microsoft Windows Based Script Host) process. These tricks work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista and Windows XP.



More Cool Notepad Tricks

Author About
Akhilesh Sharma maintains and writes Tweak And Trick. He is a technology enthusiast and a science student.
You can contact him at tweakandtrick@gmail.com.

read more >>
Featured Posts