This procedure describes how to translate DOS batch files (.bat) and REXX-language (.cmd) scripts that contain mapped path names into scripts, which use Universal Naming Convention (UNC) equivalents, to reference remote disk resources using the CTMBAT2UNC utility. These translated scripts enable Control-M/Agent to execute multiple scripts simultaneously. The owners of the jobs do not have to be logged on to provide the drive mappings for the scripts.
To translate DOS files and REXX scripts to UNC:
ctmbat2unc.exe <batch_file_to_translate> <output_file_name>
batch_file_to_translate>: Original .bat or .cmd script
<output_file_name>: New script after translation
For an example, see Example translating DOS files using the CTMBAT2UNC utility.
Parent Topic |