I would like to copy an entire directory structure and maintain the original timestamps on the folders. Is there a way to do this.
I have tried copy, xcopy and roboCopy. roboCopy works sometimes but is not consistant.
An alternative would be to update the timestamp after the folders are created. However the version of “Touch.exe” which ships with the NT Resourse Kit does not allow a time to be passed as a parameter, as the Unix version does.
If my memory serves me correcly, there are some API calls to accomplish this, but writting my own code seems like the hard way to solve a simple problem.
Anyone had experience with this? Thanks.