32. 12. 7. Folder.Delete() |
|
Syntax |
folder.Delete(boolean)
folder.Delete()
|
|
The Delete() method deletes a specified folder. |
The optional boolean parameter cause the method to delete all read-only files and folders in the folder if set to true. |
<html>
<body>
<script language="JScript">
<!--
var myObject = new ActiveXObject("Scripting.FileSystemObject");
var myFolder = myObject.GetFolder("c:\Test");
myFolder.Delete();
// End hide-->
</script>
</html>
|
|