Thursday, 7 June 2012

Notepad Tricks

5 Awesome Notepad Tricks

1. Log Diary Trick
Have you ever wanted to make your own diary on your computer ? Why not try notepad..
  • Open notepad
  • Type .LOG
  • Save the file as LOG.txt
Now when you open notepad, the date and time will automatically be inserted. Write anything you want and the date and time is auto inserted. Your own notepad Diary.


2.  Lock Folders using Notepad
This trick may not work on all computers

Lets say you want to lock a folder named PICS in your D:\ drive , whose path is D:\PICS

Then the code should be something like this:
ren pics pics.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Pics is your folder name. Use the name of the folder in place for pics. Save the text file as lock.bat in the same drive.

To unlock this locked folder:

Open another new notepad text file and type the following:
ren pics.{21EC2020-3AEA-1069-A2DD-08002B30309D} pics

Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it to the folder you want to lock.

3.  Make a fake Virus POP UP
Type the following code in notepad:

@echo off

Save the file as pop.bat and run it. You should get two pop up messages. There has been an issue on some computers, but it should work on most computers.

4.  Create a command prompt Virus message

Type the following in notepad or (copy and paste in notepad)
@ echo off
title Virus
echo Your system is affected by virus
echo Windows will now try to undo changes
echo FAILED !
echo Your system is corrupt

Save the file as virus.bat and run the file.

5. Test your antivirus by EICAR STANDARD ANTIVIRUS TEST
Now, you can check if your antivirus really works. Type the following in notepad:


Save the file as virus-test.txt

Scan the file. If your antivirus detects this file as a virus and tries to remove it, then you can be sure your antivirus is a good one.