Hi.
I'm probably re-inventing the wheel here but I'm in the process of writing a batch file to test the several hundred deployment descriptors we have in place via iwodstart -sim.
Here's what I've go so far:
REM Variable section
REM
SETLOCAL
SET VERSION="0.1"
SET DIRECTORY=\Interwoven\OpenDeployNG\conf\
SET DIRECTORY2=\Interwoven\OpenDeployNG\bin\
SET DRIVE=E:
SET FLAGS="-sim"
SET FLAGS2=-k "key="
REM
REM Body of script
REM
%DRIVE%
CD %DIRECTORY%
FOR %%F in (*.xml) DO CALL

ROCFILE %%F
ENDLOCAL
GOTO :EOF
REM

ROCFILE
Echo %1
%DRIVE%%DIRECTORY2%iwodstart %1 %FLAGS%
IF Errorlevel 1 ECHO "Starting " + %1 + " Failed ELSE
IF Errorlevel 2 ECHO %1 + " ran and returned failed"
REM
REM End
REM
There are two problem - Firstly, getting 'The system cannot find the batch label specified - PROCFILE' and also need to find a way of removing the .xml extension from all deployment names.
Can anybody help or has done anything simmilar?