@Echo ========================================================================== ======== @ echo delphi program release and source code simple backup script @echo dan thunder 2004.8.16@echo ======================= ========================================1 "==" "GOTO USAGE
@Echo cleaning compilation intermediate file ...
@del% 1 / *. ~ * / q @del% 1 / *. DCU / Q @Del% 1 / *. DDP / Q
@Echo cleaning up, start syncency to the server ...
COPY% 1 / Release /*.*% 2 / / y / z copy% 1 / Release /% 3 / *.*% 2 /% 3 / / Y / Z
@Echo is completed synchronous, press any key to start the backup, otherwise the window can be closed. @ Pause @ del% 1.rar / @ Start / WAIT WinRAR A -R 1.RAR% 1 @ echo Start Remote Backup @copy% 1. RAR // Server / Program Test / Program Backup / Y @ Echo Remote Backup Complete @echo Start Native Backup @copy% 1.Rar G: / Bak / @ Echo Native Backup Complete @goto End
@: Usage @echo Usage: Bak.bat {Local File Path} {Target File Path} {Relative Report Folder}: End @ PAUSE