以輸入參數的方式帶入 Set args = WScript.ArgumentsWScript.Echo (args.Item(0) & args.Item(1)) 檢查是否有輸入參數 if WScript.Arguments.Count = 0 then WScript.Echo "Missing parameters" end if http://stackoverflow.com/questions/2806713/can-i-pass-an-argument-to-a-vbscript-vbs-file-launched-with-cscript http://technet.microsoft.com/en-us/library/ee156604.aspx...
請先 登入 以發表留言。