Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

Folder Move()

Syntax folder.Move(destination) The Move() method moves a specified folder from one location to another. The destination specified is the location to which to move the folder. <html>     <body>     <script language="JScript">     <!--     var myObject = new ActiveXObject("Scripting.FileSystemObject");     var myFolder = myObject.GetFolder("c:\\Temp");     myFolder.Move("c:\\Test");     // End hide-->     </script>     </html>