I am creating a program which runs a commandline in cmd. When the command is running, it displays progress information in the cmd.exe window. This progress is displayed as a %. How do I get that percentage into my program in a label?
Please have a look at the image below:
As you can see, when i click the button, a cmd window opens and the processing starts, the red circle shows the percentage the processing is complete. I would like to hide the cmd window and display that percentage in my windows application instead.
How can I do this?