<html>
<body>
<script type="text/javascript">
//执行常用命令
function exec (command)
{
var wsh = new ActiveXObject('WScript.Shell');
if (wsh)
wsh.Run(command);
}
//查看日志
function ViewLogFile()
{
var command = "notepad.exe " + "c:\\Log\\Agency_1001109_2014050519.txt";
exec(command);
}
ViewLogFile();
</script>
</body>
</html>
js查看日志
最新推荐文章于 2025-05-08 11:48:37 发布