Syntax
filesystemobject.MoveFolder(/arguments/)
The MoveFolder() method moves one or more folders from one location to another.
<html> <body> <script language="JScript"> <!-- function move() { var myObject; myObject = new ActiveXObject("Scripting.FileSystemObject"); myObject.MoveFolder("c:\\tmp\\subtmp", "c:\\"); } --> </script> Move the folder "subtmp" from c:\tmp\subtmp to c:\ <form name="myForm"> <input type="Button" value="Move folder" onClick='move()'> </form> </body> </html>