BE_CreateFolder

BE_CreateFolder ( path )

 

Creates a new folder at the location path.

 

Version : 1.0

Version : 2.1 : changed the folder to be recursive, so any required subfolders are also created.

 

Parameters :
path : a system file path.

 

Result : 0 for success, or ? for an error. An OS error number is returned in the BE_GetLastError function for failure, eg : 2 if the folder was not created successfully (usually because the path is invalid).

 

Examples :

BE_CreateFolder ( "/Users/username/Desktop/myNewFolder" )

BE_CreateFolder ( "/Users/username/Desktop/myNewFolder/anotherNewFolder" ) //Creates both myNewFolder and anotherNewFolder. Requires v2.1.0 or later.

Have more questions? Submit a request

0 Comments

Article is closed for comments.