www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/26/06:26:06

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C1256598.003E4E7D.00@vega.ads.it>
Date: Mon, 26 Jan 1998 12:25:10 +0100
Subject: Re: Excluding files when using InfoZip (zip 2.0.1)
Mime-Version: 1.0




>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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019