Notepad tricks

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 ?

  • 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.

Continually pop the CD Drive

  • Open Notepad.
  • Copy the code given below onto the notepad file:
MsgBox("For More Tricks")
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
End If
wscript.sleep 5000
  • Save it as “CD-RomEject.VBS”.

Now open the file.The file will continuously force the CD rom to pop out! And If you have more than one then it pops out all of them!

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


msg * Hi

msg * Welcome To

msg * You have To Logoff Your System Now!

msg * I’m Sorry for being merciless !!

msg * Because you have been Hacked !!!


  • Save the file with any file name but with .bat as extension and close it. For eg.MessageForYou.bat

After saving the file just open it (by double clicking) and see what happens.

Shut-down The Computer After Conveying Any Message

This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:

  • Open Notepad.
  • Paste the following code in it:

@echo off

msg * Please Take rest Dear.

shutdown -c “You Have to Calm down  For a While… Good Luck..!!!” -s

  • Save the file with any name but with .bat extension and close it. For eg. Shutdown.bat

In order to end the vbs script (stop continuous key presses), open task manager and end thewscript.exe process as shown in image below.

In order to end the vbs script (stop continuous key presses), open task manager and end the wscript.exe process as shown in image below.


To end The Running Scripts…

Lock File(s) on Windows Without Using Any Software

Follow the instructions to make you own Locker ( Without any software !! ) :

  • Open notepad.
  • Copy the following code in notepad file :

title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
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.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass=>"
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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto 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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s