FileSystemObject.CreateFolder()
|
|
Syntax |
filesystemobject.CreateFolder(name)
|
|
The CreateFolder() method is used to create a new folder. |
This method takes the name parameter, which is a string specifying folder name to create. |
<html> <body> <script language="JScript"> <!-- function create() { var myObject, newfolder; myObject = new ActiveXObject("Scripting.FileSystemObject"); newfolder = myObject.CreateFolder ("c:\newtmp\"); } --> </script> Create Folder: "c:newtmp" <form name="myForm"> <input type="Button" value="Click to Create New Folder" onClick='create()'> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|