GetSysDir function
System Information routines |
![]() ![]() ![]() |
acUtils
|
type
|
TacSystemDirectory = (sdCurrentDir,
|
sdDesktop, sdMyDocuments, sdMyPictures,
|
sdAppData, sdProgramFiles, sdWindowsDir,
|
sdSystemDir, sdTempDir, sdHelpDir,
|
sdMediaDir, sdCursorsDir, sdNone);
|
|
function GetSysDir(Dir: TacSystemDirectory): String;
|
The GetSysDir function can retrieve the system path to some special folder.
|
|
When calling this function with sdCurrentDir parameter, the function will return the path to the executed EXE file of currently running application.
|
|
Calling function with sdNone parameter will return empty string.
|
ExpandToRealPath, GetTempDir, GetWindowsDir and GetSystemDir functions;
|
acSystemInfo component.
|