Notepad Tricks:
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.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
Matrix Falling Code Effect - Notepad CMD (.BAT) Tricks
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
Make Your Keyboard Type (Any) Message Continuously-VBS Trick
Set wshShell = wscript.CreateObject("WScript.Shell")Send this file to your friends as an email attachment to see the fun.
do
wscript.sleep 100
wshshell.sendkeys "This is a Virus. You have been infected."
loop
Create a Harmless 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. If you put them back in, it will pop them out again. Copy this code and paste it in Notepad as Virus.vbs or *.vbs.Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Double click to open this file and you will be impressed by this awesome trick.
Make Questions
Want to make something interactive ? Need to make questions ? Here is an example of a question made with notepad where the user got the answer correct.To do this, just type the following code in notepad.
@ECHO OFF
ECHO:
ECHO ………………………………………..
ECHO PRESS 1 or 2 to select your task, or 3 to EXIT.
ECHO ………………………………………..
ECHO.
ECHO 1 – This info was given by Fun PC Life
ECHO 2 – This info was not given by Fun PC Life
ECHO 3 – EXIT
ECHO.
SET /P M=Type 1, 2, or 3, then press ENTER:
echo:
IF %M%==1 GOTO Correct
IF %M%==2 GOTO Wrong
IF %M%==3 GOTO EXIT
:Correct
echo You are right !!
GOTO END
:Wrong
echo You are wrong. This info was really given by Fun PC Life
GOTO END
:END
PAUSE
goto EXIT
:EXIT
Now save the file as Question.bat and run the file.
Please note that the file type should be kept as ALL Files while saving it as a .bat file.
You can modify the code for your convenience. Change the bold text and try it out.
Create a command prompt Virus message
Type the following 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.
Test your antivirus
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. This is a much easier way, than actually downloading a virus to test it. This sample virus code is perfectly harmless and allows you to test your antivirus. A good antivirus like MS Security Essentials will detect this test virus even before you scan it.
That’s all the tricks I’m sharing, at least for now.
All the tricks above are perfectly safe and will not harm your computer in any way. There are many destructive notepad tricks as well, like making a real virus which kills the Operating System, but personally, I believe that is only meant for developers who want to make their OS security better. Use these tricks in your best behavior
Try these out and give us your comments……
No comments:
Post a Comment