The "filter only" and "filter not" features of waRmZip
1.4 do not work correctly. I had been trying to use
the fo switch, and I found that it works only until it
finds a file that does not match the filter. For
example, if you want to filter only .log files, the
script will keep matching them until it finds a file
that does not end in .log. Then the script stops
processing files in that directory.
I am not a script programmer (my experience is with
QBASIC), but I think that I have found the source of
the problem. It is in the Walk function. The If
statement that checks whether the filename matches the
filter says that if it doesn't match then exit the FOR
loop. This causes the script to stop processing that
directory.
I am uploading a modified version of the script that I
think corrects this problem. You may, however, have a
better way to fix it. I think you will find that a
similar problem exists with processing hidden files
because there is also an "Exit For" line there.
- jwnews2@mail.av.k12.mo.us
Possible fix for filter problem