> How do you invoke the execution of an external command line from within
> Delphi?  For example, to run the PKZIP program with specified parameters.

Use ShellExecute, ShellExecuteEx or CreateProcess functions.
ShellExecuteEx is interesting because you receive the process handle (or ID) 
that you need to call
WaitForSingleObject, WaitForMultipleObject and MsgWaitForMultipleObject you 
will need to wait until
the process you launched is terminated and grab his ErrorLevel (ExitCode).

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to