Javascript FSO CreateFolder Method
Javascript CreateFolder method of FileSystemObject (FSO) provides the functionality to create a folder of specified name at the specified location of the client’s PC. You can create a new folder in the file system of client’s computer if he has set the security of web browser that allows your web page to interact with his PC. If the security of web browser of client’s PC is in favor with your Javascript FSO and automation server permissions then you can create a new folder using CreateFodler method very easily.
Syntax for Javascript FSO CreateFolder Method
fso.createFolder( Path );
As shown in the above syntax createFolder method accepts 1 parameter as Path for the new folder, where it is to be created. Also remember that the path for a new folder must contain folder name at the end of the path that is to be created.
Example for Javascript FSO CreateFolder Method
<script type="text/javascript">
// initialize ActiveXObject and create an object of Scripting.FileSystemObject.
var fso = new ActiveXObject("Scripting.FileSystemObject");
// creates a folder with specified name at the specified location
fso.CreateFolder("C:\\Temp\\myFolder");
fso = null;
</script>
Continue to next tutorial: Javascript FSO CreateTextFile Method to learn how to create a text file on client's PC.

* will not be published
* hint: http://www.example.com