Date: Wed, 30 Oct 1996 21:28:30 +0300 (MSK) From: "Alexander V. Lukyanov" Message-Id: <199610301828.VAA17510@video.yars.free.net> To: djgpp AT delorie DOT com, malcolm AT manawatu DOT gen DOT nz Subject: Re: Setting Time/Date stamps of files. > I've run into a problem with lfn's and date/time stamps on files. > After writing a file I wanted to set it's date and time and so I > opened it again with _dos_open and used _dos_setftime to set it's > date/time stamp. This doesn't work with lfns though (surprise > surprise!). Is there a better/easier way? Is it possible to take a > file opened for writing and set it's date/time stamp before it's > closed (ie. take a FILE* and set it's date/time stamp)? I think utime() should work. (Check libc info for details)