Blogger Widgets

Aug 4, 2011

Tricks Using Notepad



NOTEPAD is a default text editor for Microsoft operating systems. Generally we use NOTEPAD to note down something. But this simple text document can do various other things which might be unknown to somebody. I am discussing some of the Notepad Tricks here for you.


Trick 1 : To Test a "Anti-Virus"


If you want to check your anti-virus activity or effectiveness, you can use this notepad trick.

  • Copy this code:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
  • Open Notepad and paste it.
  • Save it with .exe extension like checkantivirus.exe.
  • Your antivirus will detect this file and attempt to delete it as soon as you save this file.
  • That proves your antivirus is working properly, if not, try another reliable antivirus.
The file you have created is completely safe. It is not a virus. It is a standard test file developed by the European Institute for Computer Anti-virus Research (EICAR). All anti-virus products are programmed to detect this file as if it was a real virus. Therefore you can safely use it to test whether your anti-virus software works, without fear of infecting your computer.



Trick 2 : To Make Your Personal Log-Diary




To make a log book, just open notepad and write .LOG, save it and close it. See the log book magic after reopening the file. The current date and time are automatically inserted after your log-entry.





Trick 3 : To Shutdown a Computer


If you want to shut down your computer forcefully after displaying a message, just follow the trick.
  • Open notepad.
  • Copy the code given below,
@echo off
c:
cls
echo hey wana be friends?
pause
echo did u say no???????????
pause
echo u r hacked
echo Type some message!
shutdown -s -t 30 -c “Shut down..byeeeee.....”
  • Save the file with .bat extension. That’s it.
Other options that you can use along with the shutdown command are :
To shutdown computer -> “shutdown -s”
To restart computer -> “shutdown -r”
To logoff computer -> “shutdown -l”
To halt a restart/shutdown –> “shutdown -a”
You can use all these commands directly in DOS prompt or in a script.


Trick 4: Matrix Effect



Not much to explain, just follow the steps and see the amazing matrix effect happen in your DOS window:

  • Open Notepad.
  • Copy the below mentioned text in your notepad file:
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start





  • Save the file with .bat extension like Matrix.bat
Thats it. Just open the file to see the matrix effect right before your eyes!



Trick 5 : 
Lock File(s) on Windows Without Using Any Software



This one is my favorite. Completely harmless trick. Follow the below mentioned steps to perform this trick:

  • Open notepad.
  • Copy the following code in notepad file :
      cls
      @ECHO OFF
      title Folder Locker
      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%==YOUR PASSWORD HERE 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
  • 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.






 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.



Trick 6 : Convert Text Into Audio Using Notepad






  • Open Notepad file on your Windows PC.








  • Copy and paste the below mentioned code : 








  • Dim msg, sapi
    msg=InputBox("Enter your text for conversion–www.lovelypradeep.blogspot.com","Lovely Pradeep Text-To-Audio Converter")
    set sapi=CreateObject("sapi.spvoice")
    sapi.Speak msg


    Save this file with any name with .vbs as extension. For eg. Text-To-Audio.vbs






    Thats it ! Your Text to Audio converter is ready to be used. Now open the saved file and key in the text you want to convert and click OK.


    If you find any difficulties in using this code, let me know via comments section.




    Ur's

    1 comment:

    WE LOV COMMENTS

    Related Posts Plugin for WordPress, Blogger...
    Twitter Bird Gadget