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
msg * WARNING
msg * VIRUS ENTERED YOUR PC


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
PAUSE
echo:
echo Windows will now try to undo changes
PAUSE
echo:
echo FAILED !
PAUSE
echo:
echo Your system is corrupt
PAUSE

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:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

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.


3 comments: