You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

FBCMD is a text mode version of FinalBuilder which can run projects from the command line.  It is installed in the FinalBuilder directory.  

 

FBCMD can be faster at executing than the IDE, as the IDE has more visual overhead.

 

 

Command Line Syntax

 

The command line syntax for FBCMD is as follows:

 

FBCMD.exe [options] [/P]<projectfile>

 

Options :

 

Switch Behaviour Example /PFinalBuilder Project File to execute The /P is optional, you can just specify the project file name by itself instead (although in that case it must be after any other options.)/P"C:\Build\MyProject.fbz7atpz"or"C:\Build\MyProject.fbz7atpz"/IIgnore all system message (eg. Ctrl-C, Shutdown.)/I/AAllow interactive actions (message dialogs, prompt for variables, etc.)/A/VSet FinalBuilder variables, in the form VarName=VarValue. The variables must be already defined Project or User variables.Separate multiple name/value pairs with semicolons. If the variable value contains spaces, enclose it in quotes./VMAJORVER=3;MINORVER=1/CExport Log action still function.With this option (or /S) enabled, the same project can be opened multiple times concurrently./TL@Read arguments from a parameter text file. Each line of the file should specify a different command line parameter.@"MyParameters.txt"/OClose any other instances of the %ProductName% IDE which are idle with unmodified copies of the same project file./OFForcibly close any other instances of the %ProductName% IDE which are open with a copy of the same project file. The IDE will first attempt to close cleanly, otherwise will terminate a running project or force terminate a stuck project. Unsaved changes to projects will be lost. Mutually exclusive with /o.†

† = Warning: Forcibly closing other projects may cause loss of data and should be used sparingly.

 

 

Options for console output (this affects the data written to the console, not to the project's log file:

 

Switch Behaviour Example /LOutput console messages to a specified text file instead of the console./L"C:\Temp\MyProjectOutput.txt"/LA Like /L, but append to the text file instead of overwriting./L"C:\Temp\ExistingOutput.txt"/LNLike /L, but fail if the file already exists (instead of overwriting.)/L"C:\Temp\MoreOutput.txt"/BSuppress FinalBuilder banner./B/XLDon't output Target start and end messages to the console.*°/XL/XADon't output action start messages to the console.*°/XA/XMDon't send action output to the console.*°/XAM

 

* = Or the specified text file, if using /L, /LA or /LN.

° = Can be combined in a single switch, ie /XLAM.

 

 

See Also

 

Scheduling builds | IDE Command Line Interface

 

  • No labels