hello Forum,
I need to execute windows .cmd file which produces output which I need to catch. It expects for input in 2 places: 'yes',enter; enter.
Can you recommend me how to do it.
From what I understand, Exec can collect output but does not let to send command strokes with objShell.SendKeys
obshell.Run let you use sendkeys but I am having troubles to collect output.
When I tried to run t1.cmd > t1.out ,
t1.out collects output till first prompt. Then all output goes on counsel.
I need to execute windows .cmd file which produces output which I need to catch. It expects for input in 2 places: 'yes',enter; enter.
Can you recommend me how to do it.
From what I understand, Exec can collect output but does not let to send command strokes with objShell.SendKeys
obshell.Run let you use sendkeys but I am having troubles to collect output.
When I tried to run t1.cmd > t1.out ,
t1.out collects output till first prompt. Then all output goes on counsel.