asp怎么在桌面上创建快捷方式?将下面一段代码放入html文件中,采用VBScript动态生成的哟,即可在桌面上建立一快捷方式:
<script language=”VBScript”>
Set Shell = CreateObject(“WScript.Shell”)
DesktopPath = Shell.SpecialFolders(“Desktop”)
Set link = Shell.CreateShortcut(DesktopPath + “IT知道网.lnk”)
link.Description = “IT知道网”
link.TargetPath = “”
link.Save()
</script>