1.

Solve : Running multiple bat files at the same time, and then run a separate bat file.?

Answer»

Hi.
What I want to do is to run 2 bat files at the same time, and after these two bat files have finished (one of them finish earlier than the other), the third bat file is going to start.
What I have been doing until now is writing the commands from the third bat file into the first bat file, since the first bat file usally finish last, however that's not the case everytime, therefore I want to run these commands separately after the two bat files.
So, is this possible to do?

Modular programming is a software DESIGN technique that increases the extent to which software is composed from separate parts, called modules. Conceptually, modules represent a separation of concerns, and improve maintainability by enforcing logical boundaries between components. Modules are typically incorporated into the program through interfaces. A module interface expresses the elements that are provided and required by the module. The elements defined in the interface are detectable by other modules. The implementation contains the working code that corresponds to the elements DECLARED in the interface.

Languages that formally support the module concept include IBM/360 Assembler, COBOL, RPG and PL/1, Ada, D, F, Fortran, Haskell, OCaml, Pascal, ML, Modula-2, Erlang, Perl, PYTHON and Ruby. The IBM System i also uses Modules in RPG, COBOL and CL, when programming in the ILE environment. Modular programming can be performed even where the programming language lacks explicit syntactic features to support named modules.

Software tools can create modular code units from groups of components. Libraries of components BUILT from separately compiled modules can be combined into a whole by using a linker.


http://en.wikipedia.org/wiki/Modular_programming

p.s. We can use a main batch that CALLS other batch files. An exit /b from the sub batch will return the control to main batch. I would not call two batch files at the same time. The main batch might lose control of the flow.

Good luckexit /b made it. Thank you!



Discussion

No Comment Found