JCL Help:GetProgramsFolder

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the name of the file system directory containing the current user's program groups.


Pascal

 function GetProgramsFolder: string;


Return Value

A string containing the local path to the programs directory.


Description

GetProgramsFolder returns the name of the file system directory containing the user's program groups (which are in fact file system directories themselves) and program shortcuts (which are special files). On a standard Windows NT 4.0 installation, this is equivalent to "C:WINNTProfiles%Username%Start MenuProgram Files".


See Also

GetCommonFilesFolder GetCurrentFolder GetProgramFilesFolder GetWindowsFolder GetWindowsSystemFolder GetWindowsTempFolder GetDesktopFolder GetPersonalFolder GetFavoritesFolder GetStartupFolder GetRecentFolder GetSendToFolder GetStartmenuFolder GetDesktopDirectoryFolder GetNethoodFolder GetFontsFolder GetCommonStartmenuFolder GetCommonProgramsFolder GetCommonStartupFolder GetCommonDesktopdirectoryFolder GetCommonAppdataFolder GetAppdataFolder GetPrinthoodFolder GetCommonFavoritesFolder GetTemplatesFolder GetInternetCacheFolder GetCookiesFolder GetHistoryFolder


About

Unit

JclSysInfo


Donator

Peter Friese


Notes

Applications that need to add program groups and program shortcuts should place them into the directory returned by this function.


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