<p dir="ltr"><br>
On 20 Jul 2015 22:23, "Frederic Da Vitoria" <<a href="mailto:davitofrg@gmail.com">davitofrg@gmail.com</a>> wrote:<br>
><br>
> 2015-07-20 21:41 GMT+02:00 Richard Mace<br>
>> How can I code TProcess, so that it shows me the output from the "ipconfig /all" command instead?<br>
><br>
><br>
> Hello,<br>
><br>
> This is not exactly what you asked for, but you could simply redirect the output with something like "ipconfig /all > ipconfig..txt" then read the contents of ipconfig.txt (or whatever name you gave to the output file). You must take care where you put the output file, though: you must have the rights to write in that folder.<br>
><br>
> Of course my solution is only a quick trick, the answer to your question would be much cleaner and much more interesting.<br>
><br>
Hi Frederic, that's a good idea and I hadn't thought of that work around.<br>
I'll give it a go</p>
<p dir="ltr">Richard</p>