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

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
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×832
×103

question asked: 22 Aug '16, 05:54

question was seen: 1,996 times

last updated: 22 Aug '16, 08:21

p​o​w​e​r​e​d by O​S​Q​A