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

I am running Windows 7 64-bit. I have installed Version 2.2.1 of Wireshark. This is how my PATH system-environment variable starts:

C:\Program Files\Wireshark\tshark.exe;....other paths

But when I try to run tshark -help from anywhere other than the Wireshark install directory (which contains tshark.exe), I get

'tshark.exe' is not recognized as an internal or external command,
operable program or batch file.

All other programs are running fine in my Windows.

The question is WHY, and how do I resolve this issue?

asked 12 Nov '16, 21:51

Jesss's gravatar image

accept rate: 0%

edited 13 Nov '16, 01:39

Jaap's gravatar image

Jaap ♦

You don't put executable files on the path; you put the directories where the executable files are located on the path.

Instead of C:\Program Files\Wireshark\tshark.exe it should be C:\Program Files\Wireshark

permanent link

answered 12 Nov '16, 21:55

Jim%20Aragon's gravatar image

Jim Aragon
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 12 Nov '16, 21:51

question was seen: 5,799 times

last updated: 13 Nov '16, 01:39

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