setting directory mod date

G

Guest

I've got some Python code (2.5.1) that's compressing folders
on a Windows machine. When the directories get
compressed, their modification date changes. Is it possible
to grab the modification date of the folder before it's
compressed, and then set it's modification date back to it's
original state after it's compressed? I've been reading
different articles on-line about this, but nothing looks very
promising. I haven't tested os.utime() or win32file since
others have said these won't work correctly with folders on
Windows XP.

Thanks.

Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,200
Latest member
SCPKatheri

Latest Threads

Top