0
我只想從vb腳本中隱藏執行一個批處理文件。我的VB腳本包含以下行;但它不起作用。任何想法我失蹤?將參數傳遞給vb腳本的批處理文件
Dim min
Dim WshShell
min = InputBox("Enter the number of mins :")
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Users\XYZ\Desktop\test.bat " & min & Chr(34), 0
Set WshShell = Nothing