Batch files

sagarsarin

Newbie
Joined
Feb 10, 2010
Messages
7
Reaction score
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
 
@echo off
c:\hello.exe
pause
c:\hello.exe
pause
c:\hello.exe
pause
c:\hello.exe
pause

etc...
 
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
 
Back
Top