Fórum WinExec não consigo executar... #304649
07/12/2005
0
Max.sgj
Curtir tópico
+ 0Posts
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
Coloquei espaço mais não funcionou...
Gostei + 0
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
Não
Gostei + 0
07/12/2005
Max.sgj
Mas o WinExec e para criar o arquivo BAK
Gostei + 0
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
Coloquei o arquivo GBAK junto com o banco de dados...
Gostei + 0
07/12/2005
Edilcimar
Caminho := D:\ + Dia +´\´;
WinExec(Pchar(´gbak -user SYSDBA -pas masterkey -backup -v -ignore loja1\foto1.fdb ´´+ Caminho + ´foto1.bak´),1)
Gostei + 0
07/12/2005
Max.sgj
(Pchar(´gbak -user SYSDBA -pas masterkey -backup -v -ignore C:\MaxProgramador\Pro Projeto\Teste\BD Interbase\BD.GDB ´´ C:\MaxProgramador\Pro Projeto\Teste\BD Interbase\´BD.bak´),1);
Gostei + 0
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
Não estou entendendo...
Gostei + 0
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
Está parando na segunda letra C:\
Gostei + 0
07/12/2005
Edilcimar
Gostei + 0
07/12/2005
Max.sgj
WinExec(Pchar(´gbak -user SYSDBA -pas masterkey -backup -v -ignore C:\MaxProgramador\Pro Projeto\Teste\BD Interbase\BD.GDB ´´+C:\MaxProgramador\Pro Projeto\Teste\BD Interbase\+´BD.bak´),1);
Gostei + 0