Creates a new folder
Usage:
sysFolderCreate (object me, string folderPath )
Parameters:
folderPath (string) - a string specifying the path to an existing directory
Returns:
(integer) - The success code
Example:
-- create a Calu folder in program files folder if it doesn't already exist
PROGRAM_FILES_FOLDER = 8
xtRose = xtra("Rosetta").new( )
strProgFilesPath = xtRose.sysFolderSpecial( PROGRAM_FILES_FOLDER, 1)
if ( xtRose.sysFolderExist( strProgFilesPath & "\Calu\" ) <> TRUE ) Then
xtRose.sysFolderCreate( strProgFilesPath & "\Calu" )
end if
Notes:
When intermediary folders do not exist, they will be created as well.