change mtime of directory under windows

Marcus Stojek stojek at part-gmbh.de
Tue Dec 17 08:29:33 EST 2002


Hi,
can anybody tell me please how to change mtime and/or atime for
a directory under windows.

os.utime(dir,(mtime,atime)) doesn't work (Permission denied)
win32file.SetFileTime(dir,mtime) doesn't work either, because dir is
no file handle

I didn't find anything useful.

Thanks,
marcus



More information about the Python-list mailing list