Jump to content

xcopy /c >>file.log


Recommended Posts

Posted

Yes I know there are other parms I did not include, but my issue is that the

file.log captures all the files being copied. However if there is an error

message, it appears on the screen and never stored in the file.log. This was

not the case in NT4. Any suggestions

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: xcopy /c >>file.log

 

 

"Jim T" <JimT@discussions.microsoft.com> wrote in message

news:8E66A5CC-C8A2-497B-BA86-709C6CD40C37@microsoft.com...

> Yes I know there are other parms I did not include, but my issue is that

> the

> file.log captures all the files being copied. However if there is an error

> message, it appears on the screen and never stored in the file.log. This

> was

> not the case in NT4. Any suggestions

 

The command to include error messages in the file log always

looked like so:

 

xcopy /c 1>>file.log 2>>&1


×
×
  • Create New...