Erro do winzip ao efetuar backup!
Olá amigos, blz! Primeiramente qro desejar a todos um FELIZ ANO NOVO :D
Estou fazendo backup mas aparece o seguinte erro no winzip!
Action: Add (and replace) files Include subfolders: yes Save full path: no
updating receitas.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.DB
updating receitas.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.PX
updating damv.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.MB
updating damv.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.DB
updating damv.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.PX
updating usuarios.db
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.db
updating usuarios.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.PX
updating pagos.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.MB
updating pagos.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.DB
updating pagos.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.PX
updating pagos.TV
updating pagos.FAM
updating PDOXUSRS.LCK
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\PDOXUSRS.LCK
updating PARADOX.LCK
replacing old Zip file
Abaixo está o código do meu backup! Se puderem me ajudem!
procedure Tfrmbackup.cmdinibackupClick(Sender: TObject);
begin
dm.tbldamv.Active := false;
dm.tbldamv.Active:= false;
dm.tblusuarios.Active:= false;
dm.tblpagos.active := false;
ShellExecute(0,nil,´winzip32.EXE´, ´-a A:\backup.zip C:\Claudenir\damv\dados\*.*´,nil,sw_show);
exit;
Showmessage(´Cópia efetuada com sucesso!´);
frmbackup.close;
:D Desde já muito obrigado!
Estou fazendo backup mas aparece o seguinte erro no winzip!
Action: Add (and replace) files Include subfolders: yes Save full path: no
updating receitas.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.DB
updating receitas.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\receitas.PX
updating damv.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.MB
updating damv.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.DB
updating damv.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\damv.PX
updating usuarios.db
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.db
updating usuarios.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\usuarios.PX
updating pagos.MB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.MB
updating pagos.DB
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.DB
updating pagos.PX
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\pagos.PX
updating pagos.TV
updating pagos.FAM
updating PDOXUSRS.LCK
Warning: The following file is open by another program. If that program
Warning: writes to the file while WinZip is zipping the file, the zipped
Warning: file may be corrupt: C:\Claudenir\damv\dados\PDOXUSRS.LCK
updating PARADOX.LCK
replacing old Zip file
Abaixo está o código do meu backup! Se puderem me ajudem!
procedure Tfrmbackup.cmdinibackupClick(Sender: TObject);
begin
dm.tbldamv.Active := false;
dm.tbldamv.Active:= false;
dm.tblusuarios.Active:= false;
dm.tblpagos.active := false;
ShellExecute(0,nil,´winzip32.EXE´, ´-a A:\backup.zip C:\Claudenir\damv\dados\*.*´,nil,sw_show);
exit;
Showmessage(´Cópia efetuada com sucesso!´);
frmbackup.close;
:D Desde já muito obrigado!
Claudenir.antunes
Curtidas 0
Respostas
Gandalf.nho
27/12/2004
Você realmente fechou todos os datasets? Por acaso não está testando isso de dentro do ambiente do Delphi? Se não funcionar, a melhor coisa é chamar o winzip e fechar o programa antes de executar a cópia. Outra possibilidade é usar algum componente de compactação como o ZipMaster.
GOSTEI 0
Claudenir.antunes
27/12/2004
Você realmente fechou todos os datasets? Por acaso não está testando isso de dentro do ambiente do Delphi? Se não funcionar, a melhor coisa é chamar o winzip e fechar o programa antes de executar a cópia. Outra possibilidade é usar algum componente de compactação como o ZipMaster.
Estou testando através do delphi! Há problema nisso?
GOSTEI 0
Gandalf.nho
27/12/2004
Se você está testando de dentro do Delphi, deve ter forms abertos com datasets ativos o que explicaria as mensagens de erro do Winzip
GOSTEI 0
Claudenir.antunes
27/12/2004
Se você está testando de dentro do Delphi, deve ter forms abertos com datasets ativos o que explicaria as mensagens de erro do Winzip
.Muito Obrigado pela ajuda! FELIZ ANO NOVO! :D
GOSTEI 0