Hi All, I hope this question is going to make sense. I am trying to obtain the MAC Address of a remote PC, using psexec \\pcname and running the command "ipconfig /all". If I run the psexec command from my machine via a command prompt, ipconfig /all is successfully run on the remote machine, and I can see it's MAC address, however, if I run it via TProcess, in Lazarus, the output I get from TProcess is the output from psexec (successfully run and exited with error code 0) rather than the output from ipconfig. How can I code TProcess, so that it shows me the output from the "ipconfig /all" command instead?
I hope that makes sense? Richard
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus