General discussion


Running multiple jobs

By mishragautam_k ·
Good Afternoon,
I have several command files to run simultaneously. I need to run say a fixed number (5) command files to be executed and then when one job finished, command prompt would need to read from list and keep running 5 command files all the times until all the files are done.Can some one help me out with a script.for example I have the list.txt which has listed 30 bat files so the control has to go and read the first 5 *.bat files and run them and when one of them is done,then read the next batch file from the list.txt and run that.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by HAL 9000 Moderator In reply to Running multiple jobs

That is the correct way to be doing things and really is a job for a programmer to complete. Depending on what the instruction set comprises of this can either be a very simple process or very complicated and if written in VB can be an extremely big cumbersome program in itself.

The simple answer would be to write the required program and the launch it so that no further intervention is required until the process is completed and this could be done in almost any programing language with just an icon on the desktop to start running. Of course the actually programing would require a lot more information that what you have provided as well as what platform it is to be run on.


Related Discussions

Related Forums