I am wrinting a program that calls netsh from the command line
system("netsh -f script_adapters.txt > adapters.dat");
It dumps the result in a text file - This works fine.
However is there a way to surpress the command line window?
When the system line is executed a new window is opened, the command executed and then the window is closed.
I still want the results, but to not show the command window.