看到一段js
shortcutPath="D:\\0.lnk";
TargetPath="D:\\00.exe";
function withObject(obj,callback){callback(obj);}
withObject(new ActiveXObject("WScript.Shell").CreateShortcut(shortcutPath),function(shortcut){
shortcut.TargetPath=TargetPath;
shortcut.Save();
});
明明可以平铺直叙 偏偏塞进三个函数