This may help:
C:\Documents and Settings\Alistercmd /?
Starts a new instance of the Windows XP command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON |
/V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K
PROTECTED]; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] CreateProcess
Hi
You are the man Laurie. That seems to work great now!
btw what does the /c do?
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
lbisman wrote
Should that pChar string be 'cmd /c MySQLExport.bat' as it's
the command interpreter that usually runs batch files...
Laurie..
- Original Message Follows -
Hi
I am trying to use create process to run a batch file.
The batch file exports a MySQL DB to a file. The batch
file runs