string GetDirectoryList(string sDirectory)
Return values
Returns a string with the sub directories separated with a carriage return; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.
Parameters
Remarks
The return string contains all sub directories in the specified directory. Each directory is returned with its full path. Directories in string is separated with a carriage return sign.