FileSystem.makeFolder() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to FileSystem Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.FileSystem.makeFolder(folderPath:String):Void

Parameters
folderPath:String - Path to the folder to be created

Returns
Nothing

Description
Creates a new folder with the specified name.

Notes
None

Example Code
mdm.FileSystem.makeFolder("c:\\myFolder");

mdm.FileSystem Class Example Downloads
No Example Downloads Available


User Comment by Alesk on 23rd September 2010 - 15:35
This function doesn't works for create multiple folder at the same time :

if "c:\rootfolder" only exists :

mdm.FileSystem.makeFolder("c:\\rootfolder\\subfolder\\subsubfolder");

will not work, you must do :

mdm.FileSystem.makeFolder("c:\\rootfolder\\subfolder");
mdm.FileSystem.makeFolder("c:\\rootfolder\\subfolder\\subsubfolder");

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page