曲线救国:先创建可操作的文件名(EvenicleRance.lnk),再重命名为你要的文件名(イブニクル・ランス版.lnk)。- rootPath=createobject("Scripting.FileSystemObject").GetFolder(".").Path
- currentPath=rootPath & "\"
- set WshShell=WScript.CreateObject("WScript.Shell")
-
- set oShellLink=WshShell.CreateShortcut(currentPath & "EvenicleRance.lnk")
- oShellLink.TargetPath=currentPath & "EvenicleRance.exe"
- oShellLink.Arguments=""
- oShellLink.WorkingDirectory=currentPath
- 'oShellLink.Hotkey=""
- oShellLink.WindowStyle=1
- oShellLink.Description=""
- oShellLink.Save
-
- Set fso = CreateObject("Scripting.filesystemobject")
- fso.GetFile(currentPath & "EvenicleRance.lnk").Move currentPath & "イブニクル・ランス版.lnk"
复制代码
|