Hi,
at first i want to say, that iīm a beginner in c-programming and i didnīt find any thread which helps me
now i try to describe my problem:
i want to save the output from an application (for example "tracert.exe" from Windows) into a txt.file. But i donīt know how i have to code it.
i tried to use the function 'system("tracert.exe .....")' from <stdlib.h> and fill this output in an array so i can write the characters of the array in this txt.file, but it doesnīt work
i think the cause is the "printf()" function from "tracert" - can i devert the output? if yes - how?
can anybody help me or give me some advice?
thx



LinkBack URL
About LinkBacks




