生成桌面快捷方式

生成快捷方式.cmdspa

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
相關文章
相關標籤/搜索