@echo off
set dd=%date:~8,2%
set mm=%date:~5,2%
set yy=%date:~0,4%
set Tss=%TIME:~6,2%
set Tmm=%TIME:~3,2%
set Thh=%TIME:~0,2%
set Thh=%Thh: =0%
SxsTrace Trace -logfile:%yy%-%mm%-%dd%_%Thh%.%Tmm%.%Tss%.etl
SxsTrace Parse -logfile:%yy%-%mm%-%dd%_%Thh%.%Tmm%.%Tss%.etl -outfile:%yy%-%mm%-%dd%_%Thh%.%Tmm%.%Tss%.txt

04-19 21:46