Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.07 KB

File metadata and controls

31 lines (19 loc) · 1.07 KB

ProgramFilesRedirect class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJSystemFolders

Applies to: ~>5.0

class function ProgramFilesRedirect: string;

Description

Returns the fully qualified path name of the Program Files folder, taking into account any redirection for 32 bit programs running on 64 bit Windows.

The return value will be the same as one of the ProgramFiles or ProgramFilesX86 methods as follows:

Operating System Application Return Value
32 bit Windows 32 bit ProgramFiles
64 bit Windows 32 bit ProgramFilesX86
64 bit Windows 64 bit ProgramFiles

See Also