Although having been superceded in later versions of Delphi,
I still use WinExec...

to run a batch file called MYBAT.BAT I would use:

WinExec('command.com /c MYBAT.BAT, 0)

of course, if using WinNT or whatever, the command
interpretor may be 'cmd', but everything else should be the
same.

Laurie Bisman.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to