Use the ICISite interface CreatePhysicalFolder method and a relative path to create a new physical folder on the server.
Signature:
HRESULT CreatePhysicalFolder([in] BSTR bstrNewFolder);
|
Use forward slashes instead of back slashes. |
Example in VB:
Call Object.CreatePhysicalFolder("/folderpath/")
'another example:
MySite.CreatePhysicalFolder("/Usr/jsmith/")
'Note that backslashes "\" will not work:
MySite.CreatePhysicalFolder("\Usr\jsmith\") <--will fail!