miguel olivares varela wrote: > > > > @echo off > setlocal ENABLEDELAYEDEXPANSION > FOR %%f IN (*.snoop) DO SET Liste= "%%f" & tshark -r “%%f" -w “!Liste!” > > i need to use two variables "f" and "liste" asign "f" to "liste" but i > don't know how can i change the extension of the file in "liste". >
Try something like: SET Liste=%%~nf.lis See the help documentation for the for statement. _______________________________________________ Wireshark-users mailing list Wireshark-users@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-users