Folder.Move() : Folder : MS JScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » MS JScript » Folder »

 

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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo MS JScript
» Folder