Bentley OpenComms Designer Help

Command Line Extracts using a TaskFile

To perform an unattended Extract using a previously created TaskFile, without manually deleting any existing files in the output folder, the following 5 variables are required, or Extract won’t start:

  • --Execute=
  • --TaskFile=
  • --UseLoginToken (or --username= & --password= must be used.)
  • --Project=
  • --CleanOutputFolder
The following command line syntax will remove any existing files in the output folder, and yield an unattended extract using the TaskFile Hub-C from the CPVExtract project AREA14, and place the extract files and a HUB-C.log file in the C:\temp\CPVExtractions folder:
CPVExtract --Execute=BOTH --TaskFile=HUB-C --UseLoginToken --Project=AREA14 --OutPutFolder= "C:\temp\CPVExtractions" --LogFileName=C:\temp\CPVExtractions\HUB-C --CleanOutputFolder