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:
- 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.
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.....”
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.
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:
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
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
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




This comment has been removed by the author.
ReplyDelete