Found this function http://www.cpearson.com/excel/ShellAndWait.aspx
But would need also to capture output from the shell output. Any code suggestion ?
Found this function http://www.cpearson.com/excel/ShellAndWait.aspx
But would need also to capture output from the shell output. Any code suggestion ?
You could always redirect the shell output to a file, then read the output from the file.
You can CreateProcess
the application redirecting its StdOut
to a pipe, then read that pipe directly; http://pastebin.com/CszKUpNS
dim resp as string
resp = redirect("cmd","/c dir")
resp = redirect("ipconfig","")