Cool Notepad Tricks Bat: We all use computers and laptops on a daily basis and we all love to find new tricks everyday. So this tutorial is for the tricks lovers, in this article, I am going to share some cool notepad tricks with you. Notepad is a simple software for writing texts and saving it on any computer but you can perform some cool trick in it to perform various operations.
10 Cool Notepad Tricks Bat For Fun
1. Make Fake Windows error with the Notepad Tricks.
With this command below you can fool your friends easily because this trick will create a fake windows error pop-up message. All you need to do is execute this command.
Open Notepad.

Type X=Msgbox(“type your Message Here”,0+16,”type your Title Here”)
Save this file as errors.vbs
In the place of “type your Message Here,” you can write any message to scare your friends.
2. Force CD Drive to Open continually
When you open a notepad file with this commands below it will make CD Drive to Open continually. All you need to do is paste these codes.

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
Then save this file as hello.vbs
Now when you double click on this file it will make CD Drive to Open continually. All you need to do is paste these codes.
3. Make Keyboard LED lights to Dance
Now you can make your keyboards LED lights blink continuously.
All you need to do is type these codes below in notepad
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop
Then save this file as hello.vbs
Now when you double click on this file it will make your keyboards LED lights to blink continuously.
4. Test your Antivirus with Notepad
Now you can test your antivirus. All you need to do is type these codes below in notepad.
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
And Now save this file as virus.exe
If your antivirus is working perfectly then it antivirus will ask you to delete this file. And if nothing happens then you must change your antivirus because it is not working
5. Matrix effect with Notepad
open Notepad and paste the following codes.
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Save this file as matrix.bat
6. Repeat messages on screen continuously
Open your notepad and paste this code
@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
Now save this file as message.bat
7. Make password protected folder with Notepad
Open your notepad and paste this 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 the folder
set/p “pass=>”
if NOT %pass%== gadgetsay.com 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
Save that file as folderlock.bat
paste your files under folderlock.bat and your password will be gadgetsay.com
Now nobody can see your folder.
8. Notepad Opens Frequently On Your Friends Computer
Another trick with notepad is having fun watching your friends computer repeatedly opening notepad.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Now save this code with .vbs file by selecting all files from the dropdown below you can see while saving and just open the file after saving successfully.
9. Create Your Personal Diary Which Records Your Time Automatically
Yet another interesting notepad trick bat is here, in this amazing feature you will be allowed to record your stuff in which the log file will only auto update the time in which you saved or did the work, which means if you want to save some information on that log then the log will show you the time on which you saved the information.

How you can do this is, you just need to type .LOG and then save it as .log by selecting All Files.
10. Slow Typing Process
Most interesting and fun trick just from your notepad, once you save the file with .vbs using the below command, you will encounter with slow typing.
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! “
Once you save it and open the file you will see your each typed word taking time to appear on your text box. It is a small delay function code which commands the strings to delay on a certain interval.
These are few simple tricks that you can perform in notepad for fun.
It is very useful tricks?
how to stop messages
How to stop everything, I mean those pranks. ? Hahaha
These arent notepad tricks, any text editor can be used to achieve these.
Open taskmanager and end the process “cmd” or “wscript”
None of the code is working…
Cool.
Thanks
interesting