Getting output from a shell/dos app into a Delphi app
As ever so often Zarco Gajic has a solution: Capture the output from a DOS (command/console) Window. This is a copy from his article for future reference: The example runs ‘chkdsk.exe c:\’ and displays the output to Memo1. Put a TMemo (Memo1) and a TButton (Button1) on your form. Put this code in the OnCLick … Read more