I came across a problem when moving folders in Windows 7 between drives. If you move a folder within the same drive the date stamp and time of the folder is retained. However when you move or copy to a mapped or different drive, the creation date of the folder is changed to the date of the move process.
Having had a hunt around the web I found the following command works perfectly.
Solution
robocopy C:\ D:\ /e /dcopy:T
e.g. where C drive is the source drive & D drive is the destination drive
NOTE: I did this with an elevated command prompt, to be safe. The only downside to this is that it doesn’t move, but copies. I’ve heard that when you move, robocopy doesn’t retain these date settings.
This will retain all folder timestamps