Asked By Jack Bishop
31-Aug-04 05:49 PM
Howdy,
I'm trying to capture the output of a command invoked with Shell(). For example,
Shell("dir c:\", vbMinimizedNoFocus) or, more helpful,
Shell("telnet baz", vbMinimizedNoFocus).
I've attempted playing some redirection games with the local DOS command thinking I can work around some of the resulting limitations but no go. I'm trying to invoke a command on a *nix server and capture its output for further analysis/ investigation. I can invoke a dos command (ergo the "dir c:\" example) to accomplish my goal.
TIA for suggestions and guidance.