There is nothing particularly tricky about it. During the backup, we save the timestamp information. During the restore, we create the directory, then put the timestamp information back using Windows API function SetFileTime().
I use PKZIP 2.52 (command line) and the -times=all option will preserve the timestamps, i.e.: pkzip25 -ext -dir -times=all myfile.zip Check the "help" info for your zip utility to see if it has a similar option. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. Alexander Lazarevich <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 06/18/2003 06:40 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: restore question - NTFS time stamp? I've got a TSM related question, but the question is really about NTFS time stamps (creation date) for folders. The reason I'm asking this newsgroup is because the only product out there that has the capability I'm looking for is TSM. What I need to be able to do is move/copy files and folders in an NTFS filesystem, and preserve the time stamp. I've tried many things: copy, xcopy, cygwin, winzip, pkzip, they all suffer from the same problem, namely, that FOLDERS that are copied/moved/unzipped with these tools do NOT preserve the original time stamp. I've asked newsgroups and gotten no answers. I've even tried contacting 3rd party software vendors to see if their windows/unix tools can do it, but they all tell me that it CAN'T be done. But that is bull, because TSM does it!!! TSM will restore files and folders, and all the time stamps (creation dates) on the folders and files are the original ones. How does TSM do that? Any ideas? Thanks in advance, Alex --- --- Alex Lazarevich | Systems Administrator | Imaging Technology Group Beckman Institute - University of Illinois [EMAIL PROTECTED] | (217)244-1565 | www.itg.uiuc.edu --- ---