Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

CommonFilesRedirect class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJSystemFolders

Applies to: ~>5.0

class function CommonFilesRedirect: string;


Returns the fully qualified path name of the Common 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 CommonFiles or CommonFilesX86 methods as follows:

Operating System Application Return Value
32 bit Windows 32 bit CommonFiles
64 bit Windows 32 bit CommonFilesX86
64 bit Windows 64 bit CommonFiles

See Also