Program variables

Top  Previous  Next

You can use system or local variables in various places.

For instance for the button on the ribbon in the Designer window in field "Parameters" you can specify: "%aActiveFullFile%", which  gets replaced with the name of the current file on the active panel.

Following variables are reserved:

Variable Name

Description

aCurDir

The name of the current folder of the last active panel or the current folder of the program (if no panel has been open before).

aTemp

Temporary folder used by the program.

aTempShort

Temporary folder used by the program (in short DOS-format).

aRun

The program run folder.

aIniAllUsers

Folder with settings for all users.

aIniCurUser

Folder with settings for the current user and the current profile.

aActiveDir

Name of the current active panel folder.

aActiveSubDir

Name of the subfolder of the current file on the active panel (for Flat View (Ctrl+B)).

aActiveFile

Name of the current on the active panel.

aActiveFullFile

Name of the current file together with the full path on the active panel.

aOppositeDir

Name of the current opposite panel folder.

aOppositeSubDir

Name of the subfolder of the current file on the opposite panel (for Flat View (Ctrl+B)).

aOppositeFile

Name of the current file on the opposite panel.

aOppositeFullFile

Name of the current file together with the full path on the opposite panel.

aCmpFullFile1

First full file name for comparing

(Two files with the same name on different panels get compared, or two selected file, possibly on the same panel)

aCmpFullFile2

Second full name for comparing

aLeftDir

Name of the current left panel folder.

aLeftSubDir

Name of the subfolder of the current file on the left panel (for  Flat View (Ctrl+B)).

aLeftFile

Name of the current file on the left panel.

aLeftFullFile

Name of the current file together with the full path on the left panel.

aRightDir

Name of the current folder on the right panel.

aRightSubDir

Name of subfolder of the current file on the right panel (for Flat View (Ctrl+B)).

aRightFile

Name of the current file on the right panel.

aRightFullFile

Name of the current file together with the full path on the right panel.

aPlugDir

Folder of the current plugin (changes dynamically when processing settings of external archivers).

aProgramFiles64

Main folder "Program Files" of the operational system (for 64-bit systems – it's the folder for 64-bit programs, for 32-bit system – it's the regular "Program Files" folder).

aProgramFiles32

Folder "Program Files" of 32-bit programs of the operational system. For 32-bit OS – it's the regular folder, for 64-bit system it's the folder  "Program Files (x86)".

aSystemDir

System folder (usually it's "Windows\System32").