23 June 2013

Notepad Tricks



You can use the following notepad tricks to impress your friends, scare them or just do them for the sake of it


1. Open cmd continuosly with *.bat

Open Notepad and type starts like seen in picture below, but you can make as many as you would like.

Save it as start.bat . Depending on how many times you wrote start console boxes open.

  

2. Here is  how you can make a cool Matrix batch file using notepad.

Open notepad and type in
@echo off
color 2
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start


Save it as matrix.bat

Double click on file and it will open the matrix











3. Make A Personal Log-Book or A Diary

Did you know that you can also use Notepad as a simple digital diary or a personal Log-Book ? Well, if you didn’t then follow the below mentioned steps to make one for yourself !
  • Open Notepad.
  • Type .LOG (in capital letters) and hit enter.
  • Save it with any name and close it.
  • Open it again.
When you open the file again you will see the current date and time being inserted automatically after the .LOG line. This will happen automatically every time you reopen the the notepad file.

4. Test Your Anti-Virus

You can also test your anti virus program for its effectiveness using a simple notepad trick. Follow the steps below to know more:
  • Open Notepad.
  • Copy the code give below in the notepad file:
    X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
  • Save it with an .exe extension like testvirus.exe
As soon as you save this file, your anti virus program will detect the file (virus) immediately and will attempt to delete it. If this happens then your Antivirus is working properly. If not, then its time to look for some other reliable program.

5. Constantly Repeat Messages

Using this notepad trick you can annoy anyone and can actually force them to log off or leave the computer (LOL….). This notepad trick will create an infinite cycle of a message in the computer. Follow the steps to know more:
  • Open Notepad.
  • Paste the following code in the notepad file:
@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
  • Save the file with any file name but with .bat as extension and close it. For eg. Freakymessage.bat
After saving the file just open it (by double clicking) and see what happens.
Pssstttt……. You can piss of your friends by sending it as an email attachment asking them to try it out !

6.Lock File(s) on Windows Without Using Any Software

How many times have you wished of a software using which you can hide or lock files,  restricting its access to other unwanted users. Although there are various software available in market using which you can easily lock/hide files but, i personally dont trust them because most of them are bloatware or spyware.
In this post i am going to share a simple yet powerful way of locking and hiding important files using a the following method. Follow the instructions to make you own Locker ( Without any software !! ) :
  • Open notepad.
  • Copy the following code in notepad file :
  •  Edit: The old code would not work if you copy-pasted as it was
  • The new code should work though 
     
    cls
    @ECHO OFF 
    title ACCESS DENIED 
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
    if NOT EXIST Locker goto MDLOCKER 
    :CONFIRM 
    echo Are you sure u want to Lock the folder(Y/N) 
    set/p "cho=>" 
    if %cho%==Y goto LOCK 
    if %cho%==y goto LOCK 
    if %cho%==n goto END 
    if %cho%==N goto END 
    echo Invalid choice. 
    goto :CONFIRM 
    :LOCK 
    ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
    echo Folder locked 
    goto End 
    :UNLOCK 
    echo Enter password to Unlock folder 
    set/p "pass=>" 
    if NOT %pass%==YOURPASSWORDHERE goto FAIL 
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker 
    echo Folder Unlocked successfully 
    goto End 
    :FAIL 
    echo Invalid password 
    goto END 
    :MDLOCKER 
    md Locker 
    echo Locker created successfully goto End 
    :END
     

  • Change the “YOUR PASSWORD HERE” with your password.
  • Save it as batch file ( with extension .bat ) For eg. Locker.bat
  • If you are usin notepad++ it should look like this 
  • Now you will see a batch file. Double click it to create a folder locker ( A new folder named Locker would be formed at the same location )
  • Thats it you have now created your own locker and that too without using any software !
  • Brings all the files you want to hide in the locker folder.
  • Double click the batch ( As created above ) file to lock the folder namely Locker.
Folder lock
If you want to unlock your files, simple double click the batch file again and you would be prompted for password ( In DOS window ). Enter the password and enjoy access to the folder.
Don’t delete .bat file, you'll loose your stuff…….

7. Ghost Typing

What it does is opens a notepad and the typing starts automatically and you can change what it displays! The code is below :

Set wshshell = wscript.CreateObject("WScript.Shell") 
Wshshell.run "Notepad" 
wscript.sleep 400
wshshell.sendkeys "T"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 120
wshshell.sendkeys "c"
wscript.sleep 200
wshshell.sendkeys "h"
wscript.sleep 140
wshshell.sendkeys "n"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 50
wshshell.sendkeys "V"
wscript.sleep 120
wshshell.sendkeys "a"
wscript.sleep 150
wshshell.sendkeys "l"
wscript.sleep 170
wshshell.sendkeys "l"
wscript.sleep 200
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys "y"
wscript.sleep 50
wshshell.sendkeys " "
wscript.sleep 120
wshshell.sendkeys "i"
wscript.sleep 160
wshshell.sendkeys "s"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "g"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "d"
 
Save as name.vbs 
Instrucions :
Whatever is typed is shown character-wise . You can edit it to suit your needs , just change the characters and for separating words add a space instead of a character.Nice trick for annoying users.





No comments:

Post a Comment