function Run(strPath)
{
try
{
var objShell = new ActiveXObject("wscript.shell");
objShell.Run('file:///D:/Program%20Files/Tencent/QQ/QQProtect/Bin/QQProtect.exe');
objShell = null;
}
catch(e)
{
alert('找不到文件"'+strPath+'"(或它的组件之一)。请确定路径和文件名是否正确.')
}
}
其他用法见ActiveXObject对象使用整理