Ver Mensaje Individual
  #7  
Antiguo 06-06-2017
koalasoft koalasoft is offline
Miembro
 
Registrado: oct 2004
Ubicación: Tenosique Tabasco
Posts: 86
Reputación: 20
koalasoft Va por buen camino
Prueba con esto ..

Código:
var
  DirCompleto : string;
const MysqlExe = 'C:\Program Files\MariaDB 10.0\bin\mysqldump.exe';

DirCompleto:='C:\respaldo.sql';
BDORG:='mybd';

ShellExecute(self.Handle, PCHAR('open'),PCHAR(MysqlExe),
          PCHAR('-u'+USUARIO+' -p'+CLAVE+' -h'+SRV+' -R -r "'+DirCompleto+'" '+BDORG),
          PCHAR('C:\Program Files\MariaDB 10.0\bin'),
          SW_SHOW);
Saludos !!
Responder Con Cita