I have written a batch file that runs a tshark command to filter fields from a wireshark pcap file and write them to a csv file. When i ran on the windows cmd CLI, i had to change the current working directory to the wireshark folder directory in the My Computer> Program Files, so i changed the current working directory in the batch file so that it would run the same way as i ran in the windows cmd CLI. However, when i ran the below batch script, the output csv file was blank. How do i correct this batch script so that i can see the contents in the output csv file generated using wireshark's tshark command? I wrote the batch file like this.
asked 22 Apr '12, 20:25 misteryuku edited 23 Apr '12, 04:41 grahamb ♦ |
One Answer:
That will only work if the file You would either need to do
(which will, BTW, put
in whatever directory contains the
will work. answered 23 Apr '12, 00:54 Guy Harris ♦♦ |