Batch files

Discussion in 'Black Hat SEO' started by sagarsarin, Mar 11, 2010.

  1. sagarsarin

    sagarsarin Newbie

    Joined:
    Feb 10, 2010
    Messages:
    7
    Likes Received:
    0
    It is a little off topic ........but i need urgent help.......

    i want to create a batch file which executes a particular file say hello.exe file 100 times ....when the hello.exe file opens it asks for a 4 digit number...after that we have to press enter and the script continues....i want the batch file to enter that 4 digit number plz give me the program to be written
     
  2. kimkils

    kimkils Power Member

    Joined:
    Jan 10, 2009
    Messages:
    663
    Likes Received:
    225
    @echo off
    c:\hello.exe
    pause
    c:\hello.exe
    pause
    c:\hello.exe
    pause
    c:\hello.exe
    pause

    etc...
     
  3. sagarsarin

    sagarsarin Newbie

    Joined:
    Feb 10, 2010
    Messages:
    7
    Likes Received:
    0
    the file asks for a code also when it opens it asks for a code i want to put the code also automatically the code is 2837