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

Hi i need to redirect interface list from USBPcapcmd.exe to an text file for getting USB HUB number in command line. please help me how to achieve this, is there any way, i can get "USB interface list" to a text file.

Thanks, Pramod

asked 09 May '17, 03:24

Pramod's gravatar image

Pramod
11448
accept rate: 0%

edited 30 May '17, 22:03


You can use the following command:

USBPcapCMD.exe --extcap-interfaces > interfaces.txt
permanent link

answered 31 May '17, 10:53

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Thanks for ur reply. Is there any way we can redirect all output to a text file. I need to redirect all interface details which is in below image.

alt text

(31 May '17, 22:54) Pramod

I don't think you can, the program doesn't have an option to list the interfaces and if you don't provide any options it assumes interactive mode in a new console window.

As it's not part of the Wireshark project you'll either need to modify the code yourself, or file an issue over at the USBPcap site.

permanent link

answered 31 May '17, 03:25

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

@grahamb, thanks for ur replay. I will report the issue in USBPcap site.

(31 May '17, 07:24) Pramod
Your answer
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:

×5

question asked: 09 May '17, 03:24

question was seen: 597 times

last updated: 01 Jun '17, 04:16

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