From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Setting Time/Date stamps of files. Date: Wed, 30 Oct 1996 11:36:17 GMT Organization: PlaNet (NZ) Manawatu, +64 6 357-9245, +64 6 367-9944 Lines: 13 Message-ID: <557b47$14v@news.manawatu.gen.nz> NNTP-Posting-Host: ppp64-139.manawatu.gen.nz Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hi all, 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)? Thanks for any help, Malcolm