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