|
ShellExecute(Application.Handle,'open',PChar('mysql.exe'),PCHAR('mysql.exe -uroot -ppass meyle < d:\product\data.sql),PChar('C:\Program Files\MySQL\MySQL Server 5.0\bin'),SW_SHOWNORMAL);
或
ShellExecute(Application.Handle,'open',PChar('C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql.exe'),PCHAR('mysql.exe -uroot -ppass meyle < d:\product\data.sql),nil,SW_SHOWNORMAL);
为什么传不了参数呢?
|
|