Mail Archives: djgpp/1998/01/26/06:26:06
>I'm trying to exclude certain types of files, using InfoZip from a batch
file
>like this:
>
>@echo off
>call zip c:\trash\test.zip c:\trash\sounds\* -x *.wav *.au
>
>But none of the variants have worked, and I can't find any clues in the
docs.
That is because the startup code of djgpp compiled programs expands the *
to
the matching filenames.
>Anyone know how to do this?
use quotes, like this:
call zip test.zip -x "*.wav"
(not sure, but the quote can be different according to the shell you use,
4dos uses ` for quoting pourposes...)
ciao
Giacomo
- Raw text -