a***@qq.com
a***@qq.com
  • 发布:2024-04-16 11:31
  • 更新:2024-04-16 11:31
  • 阅读:79

【建议】建议压缩包添加一个脚本文件创建桌面快捷方式

分类:HBuilderX
@echo off  
echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs  
echo sLinkFile = "%USERPROFILE%\Desktop\HBuilder X.lnk" >> CreateShortcut.vbs  
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs  
echo oLink.TargetPath = "%CD%\HBuilderX.exe" >> CreateShortcut.vbs  
echo oLink.WorkingDirectory = "%CD%\" >> CreateShortcut.vbs  
echo oLink.Save >> CreateShortcut.vbs  
cscript CreateShortcut.vbs  
del CreateShortcut.vbs
0 关注 分享

要回复文章请先登录注册