This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Named pipe on Windows 7

0

At the moment I'm successfully running the following command on Windows 10 and Windows server 2012

tshark -l -n -r "\\.\pipe\tsharkpipe2"

but when I run it on Windows 7 and Windows server 2012, tshark gives me "File does not exist error". however I can use the pipe with -i, but I need to run -Y filter and -T pdml on which it seems cannot be done using -i.

am I doing something wrong here?

asked 22 Aug '16, 05:54

hja's gravatar image

hja
6224
accept rate: 0%

The tshark man page says:

Note: the Win32 version of TShark doesn't support capturing from pipes!

Can you check the version (32 or 64 bit) on the Win10, Win server 2012 and Win7 machines you are using?

Normally there should be no reason why -Y and -T pdml could not be used together with either -i or -r.

(22 Aug '16, 06:07) sindy

@sindy, All Oses were 64 bits, you are right I mixed up the -Y and -f during my tests with -i, which I can omit the -f one, thanks for the help

(22 Aug '16, 08:21) hja