Subj : REDATE2.ZIP
To : Gerald Miller
From : andrew clarke
Date : Fri Oct 25 2002 06:35 pm
Thu 2002-10-24 19:34, Gerald Miller (1:342/512) wrote to andrew clarke:
AC>> I missed the "C source code available" on the first read! As it
AC>> turns out, the source code is very DOS-specific, and not portable, so
AC>> a lot of work is needed there, but you could then have a version that
AC>> worked natively under Windows/UNIX (that would support long file names
AC>> for eg.).
> OS/2 would be nice, also. :-))))
I haven't run OS/2 for a few years. An OS/2 version (16 & 32-bit) should be no
problem though.
> Just curious.... I created an ARJ archive today, with the switches
> that set archive date to newest date in archive (1991), then I touched
> it with today's date. Ran REDATE (my Y2K "bug" version) on the archive
> - I'm almost positive that REDATE sets the date on ARJ archives to the
> "time of creation" and not to that of the newest file in the archive.
> Can you verify this behavior?
17:45 voodoo [e:\devel\csource\redate2]dir test.txt
2000-01-01 12:00a 16,209 test.txt
17:45 voodoo [e:\devel\csource\redate2]arj a test.arj test.txt
ARJ 2.81a Copyright (c) 1990-2002 ARJ Software, Inc. Jun 12 2002
Creating archive : TEST.ARJ
Adding TEST.TXT 28.9%
1 file(s)
17:45 voodoo [e:\devel\csource\redate2]dir *.arj
2002-10-25 5:45p 4,799 TEST.ARJ
17:45 voodoo [e:\devel\csource\redate2]redate *.arj
Resetting file date on TEST.ARJ to 10/25/02 17:45:18
17:45 voodoo [e:\devel\csource\redate2]dir *.arj
2002-10-25 5:45p 4,799 TEST.ARJ
Looks like it's broken. Maybe it only works with older ARJ archives.
17:47 voodoo [e:\devel\csource\redate2]del *.arj
Deleting E:\devel\csource\redate2\TEST.ARJ
1 file deleted
17:47 voodoo [e:\devel\csource\redate2]arj230 a test.arj test.txt
ARJ 2.30 Copyright (c) 1990-92 Robert K Jung. Jan 19 1992
Creating archive : TEST.ARJ
Adding TEST.TXT 29.0%
1 file(s)
17:47 voodoo [e:\devel\csource\redate2]dir *.arj
2002-10-25 5:47p 4,811 TEST.ARJ
17:48 voodoo [e:\devel\csource\redate2]redate *.arj
Resetting file date on TEST.ARJ to 1/01/00 00:00:00
17:48 voodoo [e:\devel\csource\redate2]dir *.arj
2000-01-01 12:00a 4,811 TEST.ARJ
Yep. ;-)
--
[email protected]
--- Msged/NT 6.1.1
* Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/285.4)