Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Xcopy output to file? 2

Status
Not open for further replies.

keith8266

IS-IT--Management
Feb 26, 2003
10
AU
Hey guy's
I have a batch file running to back up 30 gig to a seperate server. What I need to do is be able to read a output file of what files have changed/added during to copy.
I am using Xcopy "e:\dum de dum" "\\backup\dum de dum" /c /e /s /y /z /d
The copy works well, but I need to know what files are moving across each night.
Any help would be good.
Thanks
Keith
 
Hello keith8266,

Redirect stdout to file should still work for xcopy which acts like a log recording the action. Something likes this?

xcopy source [destination] [/options] > path\log.txt

regards - tsuji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top