R
Robert McDonald
I have two xcopy problems, one of which seems to be related to the way
Windows timestamps files, and the other just seems like a bug.
1. I routinely use Xcopy to keep directory trees in sync over the
network. Xcopy /d /s works great 95% of the time. However, whenever
there is a switch to or from daylight savings time, xcopy *in one
direction only* (i.e., from machine a to b, not from machine b to a)
wants to copy *every* file. My only explanation is that the DST switch
causes the timestamps that had appeared identical to appear different.
This definitely occurs when the machines are Win 2K and XP, and I think
it also happens with XP to XP. Can anyone suggest a workaround for this?
2. According to xcopy documentation,
/T Creates directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
Nope. When I use "xcopy \\xyz\c$\abc\*.* /T /E", xcopy tries to copy
every file. This seemed to work under Win 2K, but doesn't work under XP.
Any help much appreciated. Thanks!
Bob
Windows timestamps files, and the other just seems like a bug.
1. I routinely use Xcopy to keep directory trees in sync over the
network. Xcopy /d /s works great 95% of the time. However, whenever
there is a switch to or from daylight savings time, xcopy *in one
direction only* (i.e., from machine a to b, not from machine b to a)
wants to copy *every* file. My only explanation is that the DST switch
causes the timestamps that had appeared identical to appear different.
This definitely occurs when the machines are Win 2K and XP, and I think
it also happens with XP to XP. Can anyone suggest a workaround for this?
2. According to xcopy documentation,
/T Creates directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
Nope. When I use "xcopy \\xyz\c$\abc\*.* /T /E", xcopy tries to copy
every file. This seemed to work under Win 2K, but doesn't work under XP.
Any help much appreciated. Thanks!
Bob