Use this procedure to run an API script.
To run an API script , complete the following step:
On the Cobra command line, enter the following:
Cobra.Api.exe script:<fully qualified path of the script file>
-
On the Cobra Command line, enter the following:
Cobra.Api.exe script:<fully qualified path of the script file>
Note: You must indicate the fully qualified path of the script file in addition to its filename. An additional parameter of user:<userid/pwd> for explicit user login can be included. This setting will override the server's authentication setting.user:<userid/pwd> .
Example:
Cobra.Api.exe script:C:\Cobra5\Samples\batch.txt user:EPM/Deltek