<html> 
    <body> 
    <script language="JScript"> 
    <!-- 
    function getpath() 
    { 
        var myObject, path; 
        myObject = new ActiveXObject("Scripting.FileSystemObject"); 
        path = myObject.GetAbsolutePathName("c:\\") 
        alert("Absolute Path Name is: " + path); 
    } 
    --> 
    </script> 
    Get the Absolute Path for C:\ 
    <form name="myForm"> 
    <input type="Button" value="Get Absolute Path" onClick='getpath()'> 
    </form> 
    </body> 
    </html>
  |