Delphi: wait until bat-script runs to the end

Posted by www.yegorov-p.ru on Stack Overflow See other posts from Stack Overflow or by www.yegorov-p.ru
Published on 2010-03-14T21:40:51Z Indexed on 2010/03/14 21:45 UTC
Read the original article Hit count: 178

Filed under:
|

I have bat-file, that make some operations. How to run this file from Delphi and wait, until it stops. Something like that:

procedure TForm1.Button1Click(Sender: TObject);
begin
//Starting bat-file
bla-bla-bla
showmessage('Done');
end;

© Stack Overflow or respective owner

Related posts about delphi

Related posts about batch