Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] TSHARK.EXE command line requirements with Filter are impos

From: "Jeroen Eeuwes" <jeroeneeuwes@xxxxxxxxx>
Date: Fri, 28 Dec 2007 11:05:34 +0100
Hi Guy,

> ...at least with a UNIX-style shell.  I'm not sure you can use single
> quotes in cmd.exe to quote arguments.

Single quotes don't work. You can escape the quotes inside the qoutes
with a backslash. At least that works for tshark.exe, I'm not sure if
it will work for every program.

Eg:

C:\Program Files\Wireshark>tshark -r c:\in.pcap -w c:\out.pcap -R
"frame.time ge \"Nov 05, 2007 17:00:00\" && frame.time le \"Nov 05,
2007 18:00:00\""

Best regards,
Jeroen