2012年12月27日
摘要: JS代码function toDesktop(sUrl,sName){ try{ var WshShell = new ActiveXObject("WScript.Shell"); var oUrlLink = WshShell.CreateShortcut(WshShell.SpecialFolders("Desktop") + "\\" + sName + ".url"); oUrlLink.TargetPath = sUrl; oUrlLink.Save(); }catch(e){ alert(" 阅读全文
posted @ 2012-12-27 10:53 晓晨 阅读(8998) 评论(2) 推荐(0) 编辑