Command Line Template Export

Return to Introduction  Previous page  Next page

Bonsai Outliner for Windows > How Do I ... ? > Export an Outline > Command Line Template Export

The Bonsai Windows application can perform a command line export of an outline using a customer defined template file.  This can be useful if you have an outline that is regularly exported to an intranet after synchronization.  The syntax of the export command is:

 

BONSAI /EXPORT <outline file name> <template file name> <output file> [ /filter:<filtername> ]

 

The filter option is optional.  The filter name is case sensitive and there are no spaces between the option and the name of the filter.

 

The values returned by Bonsai for the export command are as follows.

 

0 - The import was completed without error.
1 - Not able to read the outline file. The file name may be invalid.
2 - Not able to read the template file.  The file name may be invalid.
3 - Not able to write the output file.  The file name may be invalid.

 

 

The user interface is not displayed when this command line option is used.

 

 

NoteNote:

Use the full path and extension to the file names on the command line.  Use quotes around file names that include spaces.