Added in 1.9.7

$sysdir(item)

Returns the system folder for the specified item.

Parameters

item - The item to retrieve: profile, desktop, documents, music, pictures and videos.

Example

; Retrieve the documents folder
//echo -ag Documents folder is $sysdir(documents)