这个想法是通过用户输入构造一个 URL,然后将此输出到 pastebin。
所以脚本运行,要求用户输入,然后完成 URL,然后进入 pastebin。至少,是这样的想法。
这是我到目前为止提出的代码:
Set WshShell = WScript.CreateObject("WScript.Shell")
dim strLink, defInc, remedy
defInc = "INC"
strLink=InputBox("Enter Incident ID",,defInc)
remedy = "https://1st_part_web_url"& strLink &"%22"
WshShell.Run "cmd.exe /c echo " & remedy & " | clip", 0, TRUE
这样我就没有任何输出到 pastebin。为什么不?