Command attributes for specifying directories


Command Line and Windows Command adapter requests contain <command> elements that can use the following optional attributes to specify directories for command execution or script location.

The following table describes the command attributes for directories.

 <command> attributes for directories

 

In the Command Line adapter sample XML request shown in the following figure, the command executes in the /usr/executionDir directory, using a script from the /usr/scriptDir directory.

XML sample of <command> attributes for directories

...
<commands>
 <command working-dir="/usr/executionDir" command-dir="/usr/scriptDir">MyScript.sh
 </command>
</commands>
... 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*