JCL Help:GetCommonFilesFolder

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the Windows Common Files directory.


Pascal

 function GetCommonFilesFolder: string;


Return Value

The Windows Common Files folder. If the function fails it returns an empty string.


Description

GetCommonFilesFolder returns the Windows Common Files folder as read from the registry. On a default installation of Windows 2000/XP/Vista this is a string such as c:Program FilesCommon Files.


See Also

GetProgramFilesFolder


About

Unit

JclSysInfo


Donator

Carl Clark


Notes

You can use the SHGetFolderPath API function to get many more common directories.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page