Posted by [V3N0M] on Thursday, February 05, 2009
Labels:

Basically in DOS mode, you type in commands for each operation which you want your computer to perform and execute them by hitting Enter. But all this is a manual process (meaning you have to do it). How to Create Your Own Virus Using Batch Programming What if you can make your computer to shutdown automatically, or make it delete files without anyone's consent? That is where batch programming help you out. It helps you to execute any type and number of DOS commands automatically as soon as the '.bat' file which you create is executed. This bat file obviously contains the DOS commands which you want it to execute. Here is how you do it.

STEPS:

  • Open Notepad and type in the example given below.
    • echo
    • dir /ah/p/w
    • echo
  • Save the file as Filename.bat, where Filename may be anything of your wish.
  • Assuming that you saved the file to your desktop, you should see a new file with the .bat extension. Copy that file to a new location, like C:\Windows\, and then try executing it. You should see a command window, showing all the files[including hidden and locked files] in the Windows Directory.
  • Allow your creativity to take control while your batch programming, you can use any DOS commands for this method. Whether this is really good or really bad, depends on how you use it.

[V-LINKED]

posted by V3N0M . ALL RIGHTS RESERVED .

Subscribe in a reader

0 comments: