Advertising | Chicago Webdesign | Myspace Comments | Free Advertising | Web Advertising
DOS Batch Question [Archive] - PCMech Forums

PDA

View Full Version : DOS Batch Question


obrien2003
08-12-2008, 01:55 PM
I have a batch file that launches several http sites in sequence. However, it will not launch the second link until the first page is closed. I need them all to be launched at once. Ideas?

here is an example:
C:\Progra~1\intern~1\Iexplore.EXE "http://linecontrol.ric.qimonda.com/reports/Daily Reports/DGRAndWIPMain.asp?CSS_size=""

(will not proceed to the next line of the bat file until first window is closed)

C:\Progra~1\intern~1\Iexplore.EXE "http://linecontrol.ric.qimonda.com/Reports/Daily Reports/DGRAndWIPMain_80P.asp?CSS_size="

EzyStvy
08-12-2008, 03:41 PM
Just a guess but -> First one has "" at the end - remove one...

faulkner132
08-12-2008, 04:14 PM
That is normal behavior of a batch file. Each line waits until the previous is totally completed before executing. In this case the "iexplore" command is not completed until the browser is closed.

Try prefacing each command with the START dos command (for help on this command run "start /?" from the command line). That should do the trick.

obrien2003
08-13-2008, 07:02 AM
Thanks. the 'start' did the trick!!