Scenario: To generate multiple reports from the database, we execute the batch file in command prompt like
C:\program files> cmdbatchtest1.bat servername date Y Y
With VBScript I tried to do similar:
set shell=createobject("wscript.shell")
shell.Run "test1.bat.bat", 1, True '''''able to execute batch file alone
shell.Run "cmd /K "& com_e & """\tp.bat""" & "&&" & c & "&&" & d, 1, True '''' unable to execute
Please help me to get this working.
Thanks in advance.