PCOMPRESS
date >cur_date <new_date
PCMANAGE -i -p%1%
debug cur_date <debug.scr
date <cur_date
PCMANAGE -p%1%


Using this script, the PCOMPRES utility is loaded into memory.  The
current date is saved in a file called CUR_DATE, and date is reset
to a much earlier date with the contents of the NEW_DATE file (See
below).  Then, PCMANAGE is set to access all files, starting with the
directory you specified on the command line.  Using the DEBUG program,
found on almost every DOS system currently in use, the DEBUG.SCR is
run to reduce a line of the form "Current date is DAY MM-DD-YYYY" to
a simple "MM-DD-YYYY<Ret>" form.  The date is reset using this date,
and PCMANAGE is run again, this time in "compress" mode, again using
the path you indicated as its starting directory.  Please note: the
DEBUG.SCR is a down and dirty job and won't work with months before
October or after January.  To get it to work with the excluded months,
simply use DEBUG2.SCR instead of DEBUG.SCR.

NEW_DATE
========
01-01-89

DEBUG.SCR
=========
m 114 11d 100
e 10a d
r cx
b
w
q

DEBUG2.SCR
==========
m 115 11d 100
e 109 d
r cx
a
w
q