Ethereal-dev: RE: [Ethereal-dev] [Patch] Support for wildcards in mergecap

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Francisco Alcoba (TS/EEM)" <francisco.alcoba@xxxxxxxxxxxx>
Date: Mon, 15 Nov 2004 07:24:25 +0100
> > Windows command line does not support wildcards in 
> arguments by itself,
> > it just hands them over as text.
> 
> And the C startup code for command-line utilities doesn't expand them 
> either?
> 
> The page at
> 	
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/basic_24.asp
>
>says
>
>	Wildcard Expansion
>
>	Microsoft Specific
>
>	You can use wildcards the question mark (?) and asterisk (*) to specify 
>filename and path arguments on the command line.

That is under "C++ Language Reference", but Ethereal is written in C, isn't it? Should it be forced to compile as C++? Out of the box, mergecap does not support wildcards in Windows as it is now, at least in my W2K:

C:\Program Files\Ethereal>mergecap -w xx.cap *.cap
mergecap: skipping *.cap: No such file or directory
mergecap: No valid input files