Use the ICISite interface GetFolderList method and a folder name to retrieve a list of all the folder's physical and virtual subfolders. Each subfolder will be followed by a carriage return (0D0A).
[in] BSTR bstrFolderAlias,
[out, retval] BSTR *prop);
Each folder that appears in the folder list MIGHT have a trailing character to indicate something special about that folder.
The colon character (:) is used to denote that a folder is EFS encrypted. If you need to use the subfolder name in your script or program, parse out the colon character.
The double quotation mark (") is used to denote that the folder has subfolders. If you need to use the subfolder name in your script or program, parse out the double quotation mark.
For example, CISite.GetFolderList( "/" ) might return something like:
The colon : in front of Bin indicates that the folder is EFS encrypted.
The quotation mark " at the end of Usr indicates that the folder has subfolders.
The absence of a colon or quotation mark indicates that it is not EFS encrypted and does not have subfolders.