I need to capture all the messages from cmd.exe.
I tried abc.exe &> res.dat, but it doesn't seem to work with stderr or others. What should I do?
|
I need to capture all the messages from cmd.exe. I tried
| ||||
|
feedback
|
|
Reconstruct your command like so: abc.exe >res.dat 2>&1 This will send STDERR to the same location. | |||||||||
feedback
|