Subject Re: [firebird-support] how do i run gbak from delphi
Author Markus Ostenried
At 19:24 Saturday, 17.07.2004 +0000, petesouthwest wrote:
>I am trying to run gbak from delphi using:
>shellexecute(form1.handle,'open',pchar
>(backupStr),nil,nil,sw_shownormal);
>
>where backupStr:= 'gbak [-b] -user sysdba -pass masterkey '+
>IB_connection1.databaseName +'backup18_07_04.gbk'

Are you missing a space character here?
+' backup18
^

If that doesn't work then you should test the command in a console window
first.
Take the contents of backupStr and paste it exactly as it is into the
console window.

HTH,
Markus