Harry,
Post by Harry PotterUnfortunately, 7Zip doesn't always work on my Win98SE system,
and, sometimes, I have to choose the Deflate technique on a .zip file.
On an archive you packed up yourself, or just on archives you downloaded ?
In the first case thats odd, as you would expect that 7Zip will be able to
unpack what it has packeded itself ...
Post by Harry PotterIt doesn't delete the compressed file during use,
I didn't think you would. But in the first case I described that the next
time you start the unpack-wait-repack cycle it will unpack a file from the
archive, and by it overwrite the newer(!) file thats still on disk because
it wasn't packed due to the shutdown of the machine.
Post by Harry Potterbut if it is interrupted during recompression, the compressed file
will be corrupted.
...
Post by Harry PotterI could design the batch files to skip the delete step
Yes, you could. But it would not help, as the "that process takes to long
to finish, just kill it" would most likely be aimed at the batchfile itself
/and/ any childprocesses it started. IOW, the re-compress line (which
could take too long) would be the last one the batchfile would be executing.
Though that ofcourse means that any "delete those files" commands afterwards
won't be executed either (you will still have the origionals). :-)
And assuming that 7Zip is not stupid it will not overwrite the existing
(old) archive, but create a temporary-named new one and only when it
finishes succesfully attempt to remove the old archive and give the new
archive its name. IOW, when the packing process is killed (or just fails)
you should still have a working (but old) archive.
And when that happens (you keep the working old archive) you have a same
problem as with the first case I described : the archive than could have
older versions of the newer versions that you still have on disk, and the
next unpack-wait-repack cycle would overwrite those newer files.
But maybe the 7Zip program has a comandline option instructs them *not* to
overwrite target files that already are on disk and are newer.
I also seem to remember a commandline option that automatically deletes the
sources of all just-achived files after finishing successfully. Maybe 7Zip
has that one too. Saves several batchfile steps.
Regards,
Rudy Wieser