how make copy file faster

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
darioit
Posts: 230
Joined: 02 Aug 2010 05:25

how make copy file faster

#1 Post by darioit » 07 Oct 2010 03:04

Hello everybody

I have this script

COPY FILE_ALL.TXT+FILE1.TXT FILE_ALL.TXT


File1.txt is very small and FILE_ALL.TXT became more and more bigger and the copy operation takes a lot of time also if the file1.txt is small

How can I optimize this process to add only few byte to a destination file

Thanks
Regards
Dario

amel27
Expert
Posts: 177
Joined: 04 Jun 2010 20:05
Location: Russia

Re: how make copy file faster

#2 Post by amel27 » 08 Oct 2010 03:28

depends on the file coding, for simple ANSI/OEM text:

Code: Select all

TYPE FILE1.TXT >>FILE_ALL.TXT

Post Reply