I have written a tool outlined here: http://www.bleepingcomputer.com/forums/ind...logid=1249&
to help around here at BC. I want to convert my tool to C++ instead of batch files. The reason? I need to have string manipulation to par down the event logs to something that fits in a post.
Long story short, in a batch file, I can use the > or >> operators to redirect stdout of a program to a text file. I have already tried something like
CODE
system("ipconfig /all >> c:\report.txt");
and it does not work.
Any ideas on redirecting the output of a external program call in C/C++?
Billy3