<html> 
    <body> 
    <script language="JScript"> 
    <!-- 
    function move() 
    { 
        var myObject; 
        myObject = new ActiveXObject("Scripting.FileSystemObject"); 
        myObject.MoveFile("c:\\test.txt", "c:\\tmp\\test.txt"); 
    } 
    --> 
    </script> 
    Move the file "test.txt" from c:\ to c:\tmp 
    <form name="myForm"> 
    <input type="Button" value="Move file" onClick='move()'> 
    </form> 
    </body> 
    </html>
  |