BTXML Script Commands

The following BTXML script commands are supported. For more information about how to use and format BTXML scripts, refer to Using BTXML Script.

/XMLScript=<xml_script>

Runs a BTXML script, where <xml_script> can be either a BTXML file name or raw BTXML script text.

When you specify BTXML files, multiple /XMLScript command line switches can be specified, as follows.

When you use raw BTXML script text, only a single /XMLScript parameter is supported. This parameter must be inside double quotation marks, and it must be the last parameter on the command line, as follows.

/XMLScriptFile="xml_file"

Runs BTXML script that is contained in the file that is located at the specified path.

/XMLScriptFile is obsolete as of BarTender 9.10. This command-line parameter is still supported; however, we recommend that you use the replacement command-line parameter instead: /XMLScript.

/XMLScriptFileDelete

Causes the deletion of all BTXML script files that are specified by the /XMLScript or /XMLScriptFile command after the BTXML script runs.

Related Topics