Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] problem using wireshark 1.04 through a batch file

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 3 Dec 2008 15:51:00 +0100
Hallo,

First of all you better use dumpcap for just capturing.
Use dumpcap - D to find the interface index you want to capture on iso the horible name (aren't that supposed to be { iso < ?). Then use that to create your batchfile. 

Groeten,
Jaap

Sent from my iPhone

On 3 dec 2008, at 14:24, "Wouter van der Aar" <wouter@xxxxxxxxxxx> wrote:

Last monday I installed wireshark on a customer’s XP pc.

I fiddled around with the paramaters and created a batch file, which was supposed to scan an interface for 45 minutes. Tested the command string and wireshark stated up exactly as I wanted.

The customer switched off the pc at the and of the day.

The next day the batch file refused to start wireshark.

At first windows told me that my path was incorrect. After changing that, wireshark itself refused to startup giving the following error:

Microsoft Visual C ++ Runtime Library:

 

Runtime Error

 

Program C:\Program Files\Wireshark\wireshark.exe

 

 This application has requested the Runtime to terminate it in an unusual way.

Please contact the application’s support team for more information.

 

I gave wireshark the following command string:

 

Wireshark.exe –i \Device\NPF_<33CDCD6AE2-7D3E-989B-007EC00FEF63> -a duration:2700 –w c:\wiresharkfiles\verbinding –k

 

I suspect windows is messing with me, but I need to be sure my string is in order.

 

Any help would be appreciated.

 

Regards

Wouter

_______________________________________________
Wireshark-users mailing list
Wireshark-users@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-users