Top 10 Coolest Tricks and Hacks for PCFor us notepad is just a small tool for writing and for some editing but it is more than a simple text editor. Justfew commands will create interesting tricks that will completely surprise you.Now I am going to share my few personal tricks that will truly amazed you.1.Continuous opening of notepadTo open a notepad continuously in your friend's computer, type these commands in notepad"@ECHO off:topSTART %SystemRoot%\system32\notepad.exeGOTO top "Save it as "name.BAT" and then send it to your friends. This trick will pop up notepad continuously.2.Continuously Pop out CR ROMFor continuously pop out CD drive from your friend's computerOpen notepad and type"Set oWMP = CreateObject("WMPlayer.OCX.7")Set colCDROMs = oWMP.cdromCollectiondoif colCDROMs.Count >= 1 thenFor i = 0 to colCDROMs.Count - 1colCDROMs.Item(i).EjectNextFor i = 0 to colCDROMs.Count - 1colCDROMs.Item(i).EjectNextEnd Ifwscript.sleep 5000loop"3.Make your notepad a personal diaryTo make a personal Diary open a notepad and then type the following commands".LOG" (in capital letters)then save it as "name.txt"When you will open the file again you will notice that the current date and time being inserted automatically after the .LOG line. And it will make changes to notepad every time you reopen the notepad file. So here is your personal diary.4.Your notepad will look like a MatrixAre you a big fan of Matrix then you guys must want to try this trick out.Open Notepad and type:"@echo offcolor 02:startecho %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%goto start"Save the file with .bat extension like Matrix.bat5.Text to Audio ConverterOpen Notepad.Copy and paste the below mentioned code :"Dim messagesapi message=InputBox("Enter your text","Text-To-Audio Converter")Set sapi=CreateObject("sapi.spvoice")sapi.Speak messageSave this file with any name with .vbs as extension. For eg. Text-To-Audio.vbsNow it will convert your text into Audio.6.Format your hard driveDid you guys ever think about this trick that a simple notepad can format your hard drive easily???Type the following the code in Notepad (Or just copy paste it)."011001100110111101110010011011010110000101110100001000000110001100111010010111000010000000101111010100010010111101011000"Save it as an .exe file giving any name you desire.That's It ! Now just double click on the file (to open it) and your C: drive will be formatted !7.Make your notepad lazyOpen Notepad.Paste the following code in the notepad file:WScript.Sleep 180000WScript.Sleep 10000Set WshShell = WScript.CreateObject("WScript.Shell")WshShell.Run "notepad"WScript.Sleep 100WshShell.AppActivate "Notepad"WScript.Sleep 500WshShell.SendKeys "Hel"WScript.Sleep 500WshShell.SendKeys "lo "WScript.Sleep 500WshShell.SendKeys ", ho"WScript.Sleep 500WshShell.SendKeys "w a"WScript.Sleep 500WshShell.SendKeys "re "WScript.Sleep 500WshShell.SendKeys "you"WScript.Sleep 500WshShell.SendKeys "? "WScript.Sleep 500WshShell.SendKeys "I a"WScript.Sleep 500WshShell.SendKeys "m g"WScript.Sleep 500WshShell.SendKeys "ood"WScript.Sleep 500WshShell.SendKeys " th"WScript.Sleep 500WshShell.SendKeys "ank"WScript.Sleep 500WshShell.SendKeys "s! "Save the file with any name and with .vbs extension and close it.Then see a Magic!!!8.Lock a folderYes you can protect the files and folder in your PC using notepad.Just a few lines of code and a Password protected folder will be created.Type the following code in the notepad."@ECHO OFFtitle Folder Privateif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST Private goto MDLOCKER:CONFIRMecho Are you sure you want to lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to unlock folderset/p "pass=>"if NOT %pass%==YourPass goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Privateecho Private created successfullygoto End:EndSave the file as MyFile.bat and choose File type as All Files (*.*).Double click on the file MyFile.bat.A Private folder will be created in which you can move the files and folders that you want to protect.Next time you need a password to open that file again.9.Change header and footer in notepadOpen Notepad and thenGo to File -> Page setup in notepad, and then in the fields for header and footer, type any of these codes&l Left-align the characters that follow&c Center the characters that follow&r Right-align the characters that follow&d Print the current date&t Print the current time&f Print the name of the document&p Print the page number10.Make your friend's PC shutdownOpen Notepad and Type:-"@echo offShutdown.exe -s -t 10clsmsg * Peace!Save it as "shutdown.bat".Then send it to your friend.Category: Learntags: notepad