SetFileTime

BlitzMax Forums/BlitzMax Programming/SetFileTime

I know this function isn't included in the official command set, but I was wondering if anyone has or can show me how to add this.

Basicly I want to be able to adjust the modified time of a file based on the time given by the GetFileTime function.

Only worried about windows, don't need it for linux or mac.


Thanks!

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/setfileattributes.asp

That's the only thing I could find and it's Vista specific, so I'm not sure. It's probably not doable without getting pretty messy.

You probably want to wrap utime() in some Max code... if you do it well, it should work on all platforms...

:-)

ty both :)