SOME COOL NOTEPAD TRICKS, HACKS & COMMANDS

1. Create Diary on Notepad

This Notepad trick will allow you to create Notepad note in such a format that whenever you edit your note, it will get saved with date and timestamp automatically. To do this, follow these steps:
Open Notepad
Type .LOG in first line.
Save the file as Log.txt
Now, write something to the file and it will automatically get saved with edited date and time.

2. Create Fake Windows Errors With Notepad

This is another very cool Notepad trick that allows you to create Fake error messages. You can create Fake error message with any message. To do this, follow these steps:
Open Notepad
Type X=Msgbox(“Message Here”,0+16,”Title Here”)
Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
Save the file with error.vbs.
Now, click the file and you’ll get your custom-made Windows error message.

 3.Force Shutdown Your Windows

This trick will let you force shutdown your Windows in a single-click. So, if you don’t want to waste three clicks (Start >> Turn Off Computer >> Turn Off), this trick will help you in that. To do this:
Open Notepad
Paste @echo off in first line.
Paste msg * Shutdown computer in second line.
Paste shutdown -c “Sleep Tight” -s in third line
Save the file with .BAT extension. For example, shutdown.bat
Click on your file and it will automatically shutdown your Windows.

4. Create Password-protected Folder using Notepad

Why to use any folder-locking software when your simple text editor, Notepad can lock your folders? To use this Notepad tricks, follow these steps:
  1. Open Notepad
  2. Copy the following code:
@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private “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%== digital.guide goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

  1. digital.guide written in red is password. Change it to your own password.
  2. Save the file as private.bat with File Type As All Files (*.*).
  3. Now, when you click private.bat, it will create a Private folder. Move your private files, documents and folders here.
  4. Close Private folder.
  5. Now, no one will be able to open the folder without the password.

5. Make Computer To Speak Your Sentence

This Notepad trick will make computer to speak whatever you type in the provided text-box. To use this trick, follow these steps:
  1. Open Notepad
  2. Copy & paste this command:
Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message 

  1.  Save the file as speak.vbs.
  2. Double-click the file and it will open a prompt. Enter the sentence you want your computer to speak
  3. Click OK and Notepad will speak the sentence for you.

6. Make CD Drive Open & Close Again and again

This notepad prank will make your CD drive open and close again and again continually. To use this notepad trick, use these following steps:
  1. Open Notepad
  2. Enter following command:
Set oWMP = CreateObject(“WMPlayer.OCX.7”)
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

  1. Save your notepad file as cdopen.vbs
  2. Now, open cdopen.vbs and it will start the process to continuously open and close CD drive.
To stop the process, open Task Manager by pressing Alt+Ctrl+Del and stop cdopen.vbs process.


0 comments:

Post a Comment