How can I set the file creation time on Win2K??

Tom NoSpam at NoSpam.com
Tue Jan 2 13:23:45 EST 2001


I'm trying to set the creation time of a file using Python 2.0 on Win2K.

I get the file times with os.stat.
os.utime doesn't support creation time (presumably because it isn't
supported on Unix's).

Win32file supports the GetFileTime() Win32 function, but it doesn't seem to
support SetFileTime().

Is there any way to do this?

TIA, Tom.





More information about the Python-list mailing list