The computer I'm on only has one drive. So I can't do the exact same thing, but here's something close. I did an xcopy to a networked drive and the date and time still stayed the same for me. I'm not sure what that tells us.
I'm running Windows XP. What's your OS?
>Hi Kenneth,
>
>>I agree with Sergey. It preserved the attributes for me as well.
>>Maybe you're using a handle on the command that is causing it to change.
>>Try it with no handles. What happens?
>
>Ok, I think we're getting there...
>
>I've just tried XCOPY *.* D:\ where the original files have various dates, and all the files on the destination drive d:\ have the date and timestamp that I copied them!
>
>When I try XCOPY *.* \TEMP (ie. copy to another folder on the same drive), the dates and times are preserved.
>
>So I guess my next problem is to find a way of being able to copy to another drive, but still preserving the original info.
>
>Regards,
>Alan
___________________________
Kenneth Wonderley
http://www.wonderley.com...the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness and self-control.
Galatians 5:22 & 23