Richhall wrote:
> Hi
>
> I have a file filea.txt that gets created on workstations. I have a
> cmd I want to run that will copy this file to a file (log.txt) on
> another drive but add into that file not replace. So similar to a >>
> when writing to a file. filea is then deleted on the c:\ of the pc.
> Can you tell me how I can add into a file please and not replace it?
>
> i.e copy c:\filea.txt j:\log.txt but not replace add into.
>
> Cheers
>
> Rich
To see how to do this, at the command prompt issue
COPY /?
It provides an explaination of appending files.
|