General discussion
May 1, 2003 at 07:13 AM
t. good

Why does XCOPY /D not always work

by t. good . Updated 23 years, 4 months ago

I am using XCOPY to backup files from my c: drive to a file server. I only want to copy files that are newer on my source drive than on my destination drive. I’m using the /D option. There are 6 files in my source folder. Everytime I execute the command, 2 of the 6 files are copied even though the modified date and time on the source and destination folder are the same. Why is this happening?

xcopy “C:\techword save\*.*” q:\AllProj\special\ /d > q:\AllProj\xcopypwd.log

The source file has the following file types:
.bak
.exe
.dat
.hlp
.txt
.cnt

The two files that get copied each time are the .bak and .dat files.

This discussion is locked

All Comments