The /X command line parameter errors out when using a command script integration Follow


BarTender Content Team


 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.


 BarTender 2016 and later Integrations


 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:


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.


Do you have feedback or questions on this article? We encourage you to post them on our Community Forums