I need vbscript to run an application, with specified arguments(console program, use few arguments).
I find some code, but it not used arguments:
Dim MyShell
Dim shell_cmd
shell_cmd = "C:\Program Files\Windows NT\wordpad.exe"
set MyShell = CreateObject("WScript.Shell")
MyShell.Run shell_cmd, 1, 1
Regards,
S.
I find some code, but it not used arguments:
Dim MyShell
Dim shell_cmd
shell_cmd = "C:\Program Files\Windows NT\wordpad.exe"
set MyShell = CreateObject("WScript.Shell")
MyShell.Run shell_cmd, 1, 1
Regards,
S.