Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'd do this by running dumpcap.exe instead of Wireshark (which uses dumpcap.exe to capture anyway). You can run it with the same parameter set each time, writing to the same file like this:

dumpcap -i 0 -w d:\temp\capture.pcapng

The "-i" parameter specifies the index of the capture interface. You can get a list with

dumpcap -D