Application Variables

   

 

Application Variables are defined by FinalBuilder at startup. The actual variables available will depend on which software you have installed on your machine. Application Variables cannot be modified.

 

These Application Variables are available on all machines :

 

SYSDIR

The Windows System Directory, eg. 'D:\WINNT\System32'

WINDIR

The Windows Directory - eg. 'D:\WINNT'

COMPUTERNAME

The name of the computer you are running FinalBuilder on.

USERNAME

The Name of the currently logged on User

DOSCMD

The path to the Dos command interpreter. This is used internally by FinalBuilder.

 

 

The following Application Variables are created by FinalBuilder:

 

 

ISAUTOBUILD

True if the build is being run automatically from a command line parameter.

ISCONSOLEBUILD

True if the build is being run from the console under FBCMD.EXE.

ISINTERACTIVEBUILD

True if the build is being run under the FinalBuilder IDE.

ISINCLUDEDPROJECT

True if the current project is being run as a child project

(via the Include FinalBuilder Project Action)

FBPROJECT

The full path to the currently running FinalBuilder project file.

FBPROJECTDIR

The dir where the currently running FinalBuilder project lives.

FBDIR

The directory in which FinalBuilder is installed.

FBIGNOREDERRORS

The number of actions in error during the build that were ignored.

FBBUILDTYPE

When running in the IDE, is this a full run or a run started part-way through? Possible values are script constants btFull, btFromCurrent, btSelected or btSelectedAndChilren.

ISSERVERBUILD

True if the project is being run by FinalBuilder Server.

FBSERVERPROJECTNAME

If the project is run by FinalBuilder Server, holds the name of the project as it is defined there

 

 

 

These Variables may appear on your system, depending on whether you have the software installed :

 

VB6

The path to the Visual Basic 6 compiler

DELPHI3DIR

The directory where Delphi 3 is installed

DELPHI3

The path to the Delphi 3 command line compiler

DELPHI3_BRCC32

The path to the Delphi 3 Resource compiler

DELPHI4DIR

The directory where Delphi 4 is installed

DELPHI4

The path to the Delphi 4 command line compiler

DELPHI4_BRCC32

The path to the Delphi 4 Resource compiler

DELPHI5DIR

The directory where Delphi 5 is installed

DELPHI5

The path to the Delphi 5 command line compiler

DELPHI5_BRCC32

The path to the Delphi 5 Resource compiler

DELPHI6DIR

The directory where Delphi 6 is installed

DELPHI6

The path to the Delphi 6 command line compiler

DELPHI6_BRCC32

The path to the Delphi 6 Resource compiler

DELPHI7DIR

The directory where Delphi 7 is installed

DELPHI7

The path to the Delphi 7 command line compiler

DELPHI7_BRCC32

The path to the Delphi 7 Resource compiler

DELPHI8DIR

The directory where Delphi.NET 8 is installed

DELPHI8

The path to the Delphi 8 command line compiler (dccil.exe)

DELPHI2005

The path to the Delphi 2005 command line compiler

DELPHI2005DIR

The directory where Delphi 2005 is installed

DELPHI2005_BRCC32

The path to the Delphi 2005 Resource compiler

DELPHI2005DOTNET

The path to the Delphi 2005 .Net command line compiler (dccil.exe)

DELPHI2006DIR

The directory where Delphi 2006 is installed

DELPHI2006_BRCC32

The path to the Delphi 2006 Resource compiler

DELPHI2006DOTNET

The path to the Delphi 2006 .Net command line compiler (dccil.exe)

DELPHI2007DIR

The directory where Delphi 2007 is installed

DELPHI2007_BRCC32

The path to the Delphi 2007 Resource compiler

DELPHI2007DOTNET

The path to the Delphi 2007 .Net command line compiler (dccil.exe)

BDSUSERDIR

The Embarcadero Studio Projects user directory

AQTestErrors

The AQ Test Complete error count

AQTestWarnings

The AQ Test Complete warning count

CB2007DIR

The directory where CBuilder 2007 is installed

CB2007

The path to CBuilder 2007 make.exe

CB2007DCC

The path to the CBuilder 2007 Delphi command line compiler (dcc32.exe)

CB2007_BRCC32

The path to the CBuilder 2007 command line compiler (brcc32.exe)

BCB2006DIR

The directory where CBuilder 2006 is installed

BCB2006

The path to CBuilder 2006 make.exe

BCB2006DCC

The path to the CBuilder 2006 Delphi command line compiler (dcc32.exe)

BCB2006_BRCC32

The path to the CBuilder 2006 command line compiler (brcc32.exe)

BCB3DIR

The directory where CBuilder 3 is installed

BCB3

The path to CBuilder 3 make.exe

BCB3DCC

The path to the CBuilder 3 Delphi command line compiler (dcc32.exe)

BCB3_BRCC32

The path to the CBuilder 3 command line compiler (brcc32.exe)

BCB4DIR

The directory where CBuilder 4 is installed

BCB4

The path to CBuilder 4 make.exe

BCB4DCC

The path to the CBuilder 4 Delphi command line compiler (dcc32.exe)

BCB4_BRCC32

The path to the CBuilder 4 command line compiler (brcc32.exe)

BCB5DIR

The directory where CBuilder 5 is installed

BCB5

The path to CBuilder 5 make.exe

BCB5DCC

The path to the CBuilder 5 Delphi command line compiler (dcc32.exe)

BCB5_BRCC32

The path to the CBuilder 5 command line compiler (brcc32.exe)

BCB6DIR

The directory where CBuilder 6 is installed

BCB6

The path to CBuilder 6 make.exe

BCB6DCC

The path to the CBuilder 6 Delphi command line compiler (dcc32.exe)

BCB6_BRCC32

The path to the CBuilder 6 command line compiler (brcc32.exe)

DOCOMATICDIR

The directory where Doc-O-Matic is installed

DOCOMATIC

The path to the Doc-O-Matic command line compiler