Ask Your Question
0

capinfos not working on Windows

asked 2021-03-25 17:10:55 +0000

GenowJ24 gravatar image

I'm trying to complete a lab for college regarding CLI commands for Wireshark. However, capinfos, which is required for the lab, refuses to run, with Windows stating that " 'capinfos' is not recognized as an internal or external command, operable program, or batch file ". I've reinstalled Wireshark twice now, making sure that TShark was installed as well for good measure, but to no avail. Am I better off using a Linux VM to complete this, or is the problem an easy one to fix? Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2021-03-25 17:21:03 +0000

Chuckc gravatar image

updated 2021-03-25 17:29:27 +0000

Does your lab have a setup section that mentions adding the Wireshark executable directory to the path or using fully qualified (absolute) path names to the executables?

15157: Should our installer set the Path environment variable on Windows?

edit flag offensive delete link more

Comments

It does not, despite my textbook telling me that it does. How would I go about doing that, if I may ask?

GenowJ24 gravatar imageGenowJ24 ( 2021-03-25 19:53:29 +0000 )edit
0

answered 2024-04-29 05:37:03 +0000

I know this was originally posted in 2021, however, I needed to know how to do this today, in 2024. Here's how I did it: How to add the Wireshark Program Directory to Your Path

Open Wireshark > click Help > About Wireshark > Folders

Locate the "Program" location path and copy it

click Windows Start button and type "env"

click on Edit the system environment variables

on the bottom right corner click Environment Variables

Under System variables click on Path > Edit

in the window that opens click New

in the field that generates paste the program location path you copied from Wireshark.

After all this, close your command prompt and reopen. You should now be able to run the capinfos command.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2021-03-25 17:10:55 +0000

Seen: 1,467 times

Last updated: Apr 29