-
-
Save simonxiao86/cd0ea2952924a2bfb9c0bc8c621f50f3 to your computer and use it in GitHub Desktop.
Revisions
-
simonxiao86 created this gist
Oct 14, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ Dim name,msg msg="请输入文件名称:" name=Inputbox(msg) Set Arg = WScript.Arguments set WshShell=WScript.CreateObject("WScript.Shell") strDirectory="d:\qr" set oShellLink=WshShell.CreateShortcut(strDirectory & "\" & name & ".lnk") oShellLink.TargetPath=Arg(0) oShellLink.IconLocation=Arg(0) oShellLink.WorkingDirectory=strDirectory oShellLink.Save