# Command Line Arguments for Launching POSTFEKO

POSTFEKO can be called via the command line. Use command line arguments to pass configuration information to POSTFEKO.

If POSTFEKO is launched and a model (or set of models) is specified, the model is added to a new project (or sessions). Without any models specified, POSTFEKO will start and display the start page.

Command-line options:
postfeko [SESSION] [FILES] [OPTIONS]
SESSION
A single session (.pfs) may be specified that may or may not exist
FILES
Multiple model (.fek) files or result (.bof) files may be specified. Model files result in a 3D view being created automatically that displays the first configuration of the model.
OPTIONS
-h, --help
Displays the help message.
--version
Print the version information and then exit.
--non-interactive
Special execution mode for running automation scripts without user interaction.
--run-script SCRIPTFILE
Specifies an automation script to load and run.
--configure-script CONFIGSTRING
Executes the string CONFIGSTRING before running the script specified in SCRIPTFILE. This options is only used with the “non-interactive” option.
--file-info [=OUTPUTFORMAT] SESSION
Display the POSTFEKO version used to create the file.
postfeko startup.pfs --file-info1
postfeko startup.pfs --non-interactive --file-info |more2
postfeko startup.pfs --non-interactive --file-info > versions.txt3
=OUTPUTFORMAT
Optional argument that is used to specify the output format. If the argument is set to xml, version information is written out in XML format. XML will only be output to stdout, and only if --non-interactive was also specified.
postfeko startup.pfs --file-info=xml --non-interactive | more4
1 Opens a dialog and displays the version information.
2 Writes the version information out to standard output stream (stdout).
3 Redirects the version information to the specified file.
4 Writes the version information in XML format in non-interactive mode, displaying the content one screen at a time.