|
Creates a folder.
object.CreateFolder(foldername)
object
The name of a FileSystemObject object. Required.
foldername
Required. String expression that identifies the folder to create.
An error occurs if the specified folder already exists.
The following code illustrates how to use the CreateFolder method to create a folder:
var fs = new ActiveXObject("Scripting.FileSystemObject");
var a = fs.CreateFolder("c:\\new folder");
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.