设为首页收藏本站淘宝杂货铺

从F到0 - From F to 0

 找回密码
 注册已关闭
搜索
查看: 1659|回复: 2
收起左侧

Vbscript 实现创建桌面快捷方式的方法

[复制链接]
发表于 2018-7-17 21:55:50 | 显示全部楼层 |阅读模式

  1. set WSHShell = CreateObject("WScript.Shell")
  2. DesktopPath = WSHShell.SpecialFolders("Desktop")
  3. set Shortcut1 = WSHShell.CreateShortcut(DesktopPath + "\命令提示符.lnk")
  4. Shortcut1.TargetPath = "C:\Windows\System32\CMD.EXE"
  5. Shortcut1.Save()

复制代码

发表于 2018-7-19 06:13:39 | 显示全部楼层
看不动,顶1贴
发表于 2018-10-13 00:06:58 | 显示全部楼层
我也看不动
您需要登录后才可以回帖 登录 | 注册已关闭

本版积分规则

QQ|手机版|Archiver|从F到0 ( 蒙ICP备17002595号-1 )
蒙公网安备15010402000325号

腾讯云安全认证

GMT+8, 2024-4-17 01:52 , Processed in 0.368021 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表