how to use command line parameters

574 views
Skip to first unread message

markmcselec

unread,
Apr 30, 2014, 8:26:57 AM4/30/14
to usb...@googlegroups.com
Hi

When i use the command line all seems to work well. I found no docs but checked the code and it appears that this should be ok to start logging :
USBPCAPCMD -d1 -o"myfile"

But it does not work. I get "failed to create target file"
I also tried without quotes.

So the actual question, how can i start capturing automatic from a batch file?
If i just enter the program name i get this :

C:\Program Files\USBPcap>usbpcapcmd
Following filter control devices are available:
1 \\.\USBPcap1
  \??\USB#ROOT_HUB#4&24d6eb65&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
    [Port 1] USB-HID
      HID-compliant muis
Select filter to monitor (q to quit):

I would think -d1 would select the hub. 
best regards
Mark

Christopher Hockey

unread,
Jul 25, 2014, 10:19:05 AM7/25/14
to usb...@googlegroups.com
Is it USBPcapCMD.exe -d \\.\USBPcap1 -o"myfile"?
Reply all
Reply to author
Forward
0 new messages