I would like to have a macro in Visual Studio 2005 that calls the DOS command and redirects the output (stdout and stderr) to a file. Just calling the command and redirecting it to ">" will not write stderr, so there are two parts:
- call DOS command
- capture both stderr and stdout to a file during this call
I would like to open this file in Visual Studio after the command completes.
I am new to writing Visual Studio 2005 and VB / VBA macros, so that's the kind of help I'm looking for.
Thanks Mark
source
share