Looks simple but is annoying...
or:
Because interface numbers can be different among different machines, i want to use this command to sort out the Local Ethernet Cable connection and use it as a variable in my tshark script after sorting this out first... but i can't seem to print a list to a txt file?! Thanks! |
Thats because the output of Try this: See this Microsoft Ressource for a detailed explanation of the redirecting of handles. Djeez! That was very fast ;-) Thanks Jasper!
(08 Mar '12, 05:40)
Marc
Could i use this in 1 commandline? ie something like.. tshark.exe -D | grep therightinterface | tshark capturecommandline
(08 Mar '12, 05:50)
Marc
Depends... you'll have to redirect stderr to stdout to be able to pipe it, e.g. like this: tshark -D 2>&1|grep therightinterface...
(08 Mar '12, 06:02)
Jasper ♦♦
|