mxxcgzxxx (黑雨)当前离线
中尉
garyng (GaryNg)当前离线
少尉
TOP
huabanyu8411 当前离线
列兵
broly (Broly)当前离线
版主
' 保存我为CreateLnk.vbs Dim Shell,DesktopPath,link Set Shell = CreateObject("WScript.Shell") DesktopPath = Shell.SpecialFolders("Desktop") Set link = Shell.CreateShortcut(DesktopPath & "\文字转语音.lnk") link.TargetPath = "D:\KDVoiceV2.30.exe" link.WorkingDirectory = "D:\" link.Save Set Shell = Nothing Set link = Nothing复制代码
@echo off @echo. @echo. set /p p=将要创建快捷方式的文件放到这里来: set url=%p% echo [InternetShortcut] >%url:~0%.url echo URL=%p% >>%url:~0%.url echo IconIndex=0 >>%url:~0%.url echo IconFile=%windir%\system32\cmd.exe>>%url:~0%.url pause复制代码
raymai97 当前离线
mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(""%userprofile%\Desktop\文字转语音.lnk""):b.TargetPath=""D:\KDVoiceV2.30.exe"":b.WorkingDirectory="""":b.Save:close")复制代码