|» Metadata||» Status|
Calculates or guesses the location of system folders like temp, desktop and others.
This is needed especially in Desktop applications (e.g. PHP-Gtk ones) that want to create a file in the "Desktop" folder, or for applications that want to know the directory under which application specific data (like config options) can be stored. While this is easy in *nix (just use "~"), it's harder for Windows: You need to get the AppData path which is most times under "C:\Documents and settings\$username\Application Data\" or so.
This package solves that problem in a system-independent way.
It allows you to get the locations of the following directories:
'Home' => getHome(),
'Documents' => getDocuments(),
'Shared documents' => getSharedDocuments(),
'Temp' => getTemp(),
'Desktop' => getDesktop(),
'AppData' => getAppData(),
'Programs' => getPrograms(),
'Windows' => getWindows()
You can use System_Folders_Cached to save and store the directory settings in an ini-file. This allows you to customize the folder locations.
|» Dependencies||» Links|
|» Timeline||» Changelog|