Tuesday 26 July 2011

0

Batch programming Tutorials Part 2

  • Tuesday 26 July 2011
  • saurav garg
  • Share
  • Batch Files are very powerful programs that can cause unwanted result. There are many malicious combinations that can harm your computer. They can range from erasing windows to disabling keyboard via registry etc. Most famous malicious batch program is "Fork Bomb". It opens a program repeatedly so your memory filled and eventually your computer get crashes. See also my previous post on batch programming tutorial part 1
     
    Create your own batch file, 

    1. Open Notepad.exe by either going to Run and typing "Notepad" without quotes or click Start > All Programs > Accessories > Notepad.

    2. Copy and Paste the following code into Notepad:


    @echo off
    Echo Hello World!
    pause



     Note: After you paste this code in your notepad just click file > save as and save anything.bat, And choose save type as: All files.
     

    Then click save. Then click on your batch file.
    "Its not an malicious program, What it do is it will open a cmd prompt and it display Hello world! in it. Like in the pic below.
    To stop any batch prog, Go to your task manager and click process and search for your file and click end process. 

    In my next tutorial I'll explain you about malicious batch program with example. Use all tricks only for educational purpose. Don't do any illegal activities, Then it'll cause unwanted result for you. 



    Subscribe us via E-mail and Add us on Facebook for daily updates and Plz also do click once on the ads displaying below or above the post for us.. :)


    0 Responses to “ Batch programming Tutorials Part 2 ”

    Post a Comment