Consultor Eletrônico



Kbase 34371: DOS script running multiple batch files executes the first one then stops.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P4371

FACT(s) (Environment):

Windows

SYMPTOM(s):

DOS script is setup to execute multiple batch files.

DOS scripts executes the first batch file then stops

CAUSE:

Not using "CALL". Without the DOS CALL statement, the program flow of a DOS script does not carry on beyond the first Batch file.

FIX:

Use the DOS CALL statement to call all the batch files. For Example:

CALL c:\temp\batch1.bat
CALL c:\temp\batch2.bat