Hi -
Can anyone provide the operation command lines switches that I can pass to another batch script dynamically?
For instance, I have a batch script set up to execute a DRM export. The command line portion is as follows:
Call EXEC_BATCH_CLIENT.cmd E "<DRMExport>" <CurrentVersion> <PreviousVersion> E
EXEC_BATCH_CLIENT.cmd then looks like this:
REM SET OPERATION AS EXPORT
SET OPERATION=%1
REM SET NAME OF EXPORT
SET exportName=%2
REM SET VERSION NAME FOR CURRENT AND PREVIOUS VERSION
SET currVer=%3
SET prevVer=%4
REM SET EXPORT TYPE
SET exportType=%5
REM -- Invoke DRM Batch Client
echo ********************************************************>>%logfile%
echo %~n0 at %TIME% >>%logfile%
echo ********************************************************>>%logfile%
echo ********************************************************>>%logfile%
echo Execute DRM Operation Export at %TIME% >>%logfile%
echo ********************************************************>>%logfile%
%DRM_BATCH_PATH%drm-batch-client.exe /op=%OPERATION% /u=%DRM_USER% /pw=%DRM_PSWD% /url=%DRM_URL% /log=%DRMlogfile% /outfile=%exportfile% /xname=%exportName% /cver=%currVer% /pver=%prevVer% /xtype=%exportType% /objectaccess=%DRM_OBJ_ACCESS%>>%logfile%
Does anyone have the switches for BackupVersionToFile, RestoreVersionFromFile, Import, Blend and their other required parameters? As shown above, I have Export, looking for the others.
Thanks!