|
Previous Top Next |
Prototype: | (String pDirectory),Long,PROC |
pDirectory | Directory path to create |
Returns | Returns the return value for SHCreateDirectoryEx, see link to MSDN below. If the method succeeds it will return IT_ERROR_SUCCESS |
This method can be used to create a single multi-level directory structure. If one or more path is not found it is created. Note that this method simply calls CreateDirectory.
Example:
ITS ITShellClass
Code
Loc:FolderToCreate = 'c:\test\test\test'
ITS.CreateFolder(Loc:FolderToCreate)
This will create the directory levels needed to construct this path.
See also:
http://msdn.microsoft.com/en-us/library/bb762131(VS.85).aspx