Subj : REDATE2.ZIP To : Gerald Miller From : andrew clarke Date : Thu Oct 24 2002 03:56 pm Wed 2002-10-23 21:12, Gerald Miller (1:342/512) wrote to andrew clarke: > I would suggest that you locate the REDATE2.ZIP archive, because if > you're proficient at programming with C, the code is in the archive. > Currently, it fixes the date for PAK, ZIP, ARJ and LZH files. I missed the "C source code available" on the first read! As it turns out, the source code is very DOS-specific, and not portable, so a lot of work is needed there, but you could then have a version that worked natively under Windows/UNIX (that would support long file names for eg.). > Now, if someone could fix the Y2K bug in the code..... Resetting file date on TEST.ZIP to 10/24/102 14:57:50 Is that the only Y2K bug? Just a display issue? That's all I noticed. I changed line 106 of redate.c to read: ((mbrdate >> YEAR_SHIFT) + DOS_EPOCH) % 100, Resetting file date on TEST.ZIP to 10/24/02 14:57:50 I assume you didn't want the century to show (like the old version). You can download the new source + executable from http://homepages.ihug.com.au/~ozzmosis/redate2/ -- mail@ozzmosis.com --- Msged/NT 6.1.1 * Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/285.4) .