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 faster

Thanks
Regards
Dario

miskox
Posts: 630
Joined: 28 Jun 2010 03:46

Re: how make copy file faster

#2 Post by miskox » 07 Oct 2010 03:09

Something like this:

Code: Select all

type small_file.txt>>big_file.txt


Saso

darioit
Posts: 230
Joined: 02 Aug 2010 05:25

Re: how make copy file faster

#3 Post by darioit » 07 Oct 2010 04:47

Nice it's faster!!!

But it's also secure like copy?

Regards
Dario

miskox
Posts: 630
Joined: 28 Jun 2010 03:46

Re: how make copy file faster

#4 Post by miskox » 11 Oct 2010 01:49

darioit wrote:But it's also secure like copy?


Explain in more detail what do you mean with secure? It is part of an OS so OS will return any errors if there are any.

Saso

darioit
Posts: 230
Joined: 02 Aug 2010 05:25

Re: how make copy file faster

#5 Post by darioit » 11 Oct 2010 04:59

It's work file also with Type and much faster!

Ty

Regards
Dario

Post Reply