BE_FolderCreate ( path )


Creates a new folder at the location path.


Version : 1.0
2.1 : changed the folder to be recursive, so any required subfolders are also created.
4.0.2 : Renamed from BE_CreateFolder


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_FolderCreate ( "/Users/username/Desktop/myNewFolder" )

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

Still need help? Contact Us Contact Us