I have a .bat script which uses the START command on multiple files. It will wait until all of the started scripts have ended. The code is running as expected from the command line.
However, when I run under adTempus 4.3, it appears that it does not wait.
Is there any problem or issue with using the START command in a .bat script under adTempus?
FOR /F "usebackq tokens=*" %%f IN (`DIR /B "*.txt"`) DO (
SET "FN=%%~f"
SET "FZ=%%~zf"
ECHO>>"%LOGFILE%" Generating file for "!FN!"
START "Counting !FN!" "%ComSpec%" /C "9^>"%LOCKBASENAME%-!FN!.lock" "%PHS_DMEXPRESS_EXE%" /RUN "%PHS_CONFIG_HOME%\bin\wc-frc.dxt" ^>"..\Counts\%%~nf_frc.txt" 2^>NUL ^&^& EXIT"
)
:WaitForIt
TIMEOUT /T 15 >NUL
>NUL 2>&1 DEL "%LOCKBASENAME%*"
IF EXIST "%LOCKBASENAME%*" (GOTO WaitForIt)
Also, in the adTempus Console, selecting Help > Contents goes to an unknown page. The Arcana web site changes look good, but was this connection lost in translation?