The Add() method adds folders to the collection. This can be used to create new folders on the file system.
<html> <body> <script language="JScript"> <!-- var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject"); var myFolder = myFileSysObj.GetFolder("\temp"); var myFolderCollection = myFolder.SubFolders; myFolderCollection.Add("test"); // End hide--> </script> </html>