I have created a batch file with the following syntax
call c:\maxl\batch\inflation.bat
@echo off
:begin
febootimail -FROM
[email protected] -TO
[email protected] -MSG "Inflation Cubes are complete. Please do not respond to this message as it is sent from an unmonitored account." -SUBJECT "Inflation Cubes complete" -SMTP THCNOTES
if not errorlevel 5 goto end
echo Couldn't connect to server. Trying again...
goto begin
:end
echo End of batch program.
the first line calls another batch file which runs an essbase maxl script in a dos window, the problem is that when it runs the script it calls the 2nd batch file and that closes as soon as it has called the maxl script, I need a way to make the called batch file wait until the maxl script has run its course , is there anyway to make it wait until the script has run