• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

batch file

cuti7399

Platinum Member
Hi all
I'm trying to create a batch file to copy one file to another in the backup location. I want to Append new data the backup file. The following line I have will do the trick but it overwrite everytime. Thanks for any help

copy c:\data\xxx.tdf c:\backup\backup.tdf

chdir c:\data

del *.tdf

:end

exit
 
Try

copy /b c:\backup\backup.tdf + c:\data\xxx.tdf c:\backup\temp.tdf
del backup.tdf
ren temp.tdf backup.tdf

Throw a little error checking in there. The xcopy command might be able to do this with one switch, I don't recall precisely.
 
Back
Top