Possible duplicate:How to run an external program with C and analyze its output?
If you run the Windows command from your program (say ipconfig as an example), how do you read the result that the system returns to your program for processing?
See Creating a child process with redirected inputs and outputs on MSDN
Alternatively, you can use _ popen to easily capture output.
Source: https://habr.com/ru/post/1345445/More articles:Why doesn't gitk have a copy / paste item in the edit section? - gitPositioning a div to the right of its containing div - htmlA certain XML value for Android XML gives unexpected results - androidj_spring_security_check is not available. Please help with Spring3 entry - springPackage Deleting a line in a text file? - windowsAndroid and maven: maven dependency issue in apk - androidlists: add with list - listGet the POST data in the order they were sent to Django - djangoWindows Phone Application Project Type Not available in VS2010 - visual-studio-2010Manage multiple Chrome profiles - OSX - google-chromeAll Articles