Dreamweaver 2.
This function creates a folder at the specified location.
folderURL
folderURL argument, which is expressed as a file:// URL, is the location of the folder you want to create.
A Boolean value: true if the folder is created successfully; false otherwise.
The following code tries to create a folder called tempFolder at the top level of the C drive and displays an alert box that indicates whether the operation was successful:
var folderURL = "file:///c|/tempFolder";
if (DWfile.createFolder(folderURL)){
alert("Created " + folderURL);
}else{
alert("Unable to create " + folderURL);
}
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/02_file5.htm