Ethereal-dev: Re: [Ethereal-dev] A small win32 patch

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 24 Nov 2001 00:48:23 -0800
On Fri, Nov 23, 2001 at 01:05:05PM -0500, Jason House wrote:
> The included patch allows "open with" to work.  (It has only been
> verified under windows 2000 professional, but the "standard" of passing
> in just the file name to open most likely occurs on all windows
> platforms).

Yes...

...but it also occurs on non-Windows platforms as well, so it is an
error to make that behavior specific to Ethereal on Windows.

There's also no reason to make it work only if no other command-line
arguments are specified; I checked in a change that enables that
behavior on all platforms, and works even if other command-line
arguments are specified (e.g., if you run "ethereal -n foobar.pcap" from
the command line).