What about user privelidges?
BTW: I always use dumpcap.exe for that.

Thanx,
Jaap

Ludovit Boda wrote:
> Hallo,
>  
> I want to start tshark from Windows XP scheduler every day at defined 
> time with 1 hour duration. Every captured file has a time stamp in its name.
>  
> I wrote batch file tshark.bat >
>  
> /if exist "C:\Progra~1\Wireshark\tshark.exe" (
>  set 
> subor=C:\Temp\WIRESHARK\LX_%DATE:~11,4%-%DATE:~7,2%-%DATE:~3,2%_%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.cap
> :: echo Starting tshark into file %subor%
>  C:\Progra~1\Wireshark\tshark.exe 
> -i\Device\NPF_{F0E24F86-72AA-474B-A40A-17191A47E013} -aduration:3600 
> -f"host 10.0.10.77" -w"%subor%"
> ) else (
>     echo Wireshark is not installed !!
> )/
>  
>  
> Batch file starts tshark.exe, when I run it manually from command line
> But it doesn't work when I start it from sheduler.
>  
> Have you ever had problem like this? Please advise.
> I didn't try it with some shell and Linux cron, because need it under 
> Windows unfortunately ... ;o(
>  
>  
> Thanks a lot for help,
> Ludo
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-users

_______________________________________________
Wireshark-users mailing list
Wireshark-users@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-users

Reply via email to