<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>
|