<SCRIPT LANGUAGE="JavaScript">
<!--
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("html文件的路径");
alert("The file name is " + file.Name);
alert("The file's short name is " + file.ShortName);
alert("The path is " + file.Path);
alert("The short path is " + file.ShortPath);
// -->
</SCRIPT>