<html>
<body>
<script language="JScript">
<!--
function get(){
var myObject = new ActiveXObject("Scripting.FileSystemObject");
var myFolder = myObject.GetFolder("c:\\Temp");
alert (myFolder.DateCreated);
}
// End hide-->
</script>
Get the date the c:\temp folder was created.
<form name="myForm">
<input type="Button" value="Get Date" onClick='get()'>
</form>
</body>
</html>
|