The /X command line parameter errors out when using a command script integration
Symptom
When transferring a command script task list over from earlier versions to Integration builder, the integration errors out, claiming that /X is not a recognized command.
Environment
BarTender 2016 and later Integrations
Fix/Answer
The /X command is a command line parameter that will close a BarTender document without saving it. This parameter worked normally in Task Lists and works with direct commands to BarTender but it errors out when using the Integration Builder.
To fix this issue, replace the /X command with /CLOSE. Here's the description of the command from the help file:
/CLOSE
Closes all open BarTender documents without saving. To close the active document only, use /CLOSE with /AF. To save the open documents prior to closing, use the /S command with /CLOSE.