生成快捷方式.cmd

ECHO OFF
ECHO Set WshShell = Wscript.CreateObject("Wscript.Shell") >%temp%\tmp.vbs
CMD /c "ECHO ^Set MyLink = WshShell.CreateShortcut("C:\Users\PC\Desktop\软件系统客户端模版.lnk")" >>%temp%\tmp.vbs"
ECHO MyLink.TargetPath = "C:\软件系统客户端模版\软件系统客户端模版.exe" >>%temp%\tmp.vbs
ECHO MyLink.Save >>%temp%\tmp.vbs
cscript /nologo %temp%\tmp.vbs
DEL /q /s %temp%\tmp.vbs 2>nul 1>nul

 

相关文章:

  • 2021-07-05
  • 2021-05-18
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-08-22
猜你喜欢
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案