ProgramFilesDir

Section:

User-defined Variables

Description:

Specifies the Program Files directory of the current workstation; this setting is based on the registry information.

Possible Values:

 

Default value:

Value of ProgramFilesDir in the registry key HKLM\Software\Microsoft\Windows\CurrentVersion

 

Used when a value cannot be read from the registry: C:\Program Files

Set during/as:

 

Set on level:

ORG

Passed on to:

 

Change (via):

ORG

Reference (via):

CustomVariables.ProgramFilesDir

Reasons for change:

 

Notes/Warnings:

You can change the variable's definition but you cannot delete the variable.

The %ProgamFilesDir% variable always uses the x86 path to the Program Files directory (e.g. C:\Progam Files (x86) on a x64 computer). This is independent of the command option Disable file redirection on x64 machines. If you want to start a program from the x64 Program Files, please use the %ProgramFilesDir64% variable. To activate variables for scripting, select the Tools -> Show All Variables menu command in the Infrastructure view. Activate the variables you need to display them on the drop down list in the eScript.