io.getSpecialFolderPath
Description
Get a special folder path using a CSIDL value

Parameters
CSIDL integer

Return value
path string

Example
-- Get local user My Documents path
local myDocumentsPath = io.getSpecialFolderPath(CSIDL_MYDOCUMENTS)
print(myDocumentsPath);

Comments
CSIDL values are published here:
<a href="https://docs.microsoft.com/en-us/windows/win32/shell/csidl">https://docs.microsoft.com/en-us/windows/win32/shell/csidl</a>

See also

Back
Generated on the 26 June 2024 at 22:01:29 (UK Time)