读取注册表
<script  language="JScript">  
     var  WshShell  =  new  ActiveXObject("WScript.Shell");  
      keyValue  =  WshShell.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Cache\\Paths\\Directory");  
     alert(keyValue);  
</script>