@echo offfor /f "delims=" %%a in ('dir/a-d/s/b *.txt') do ( (echo %%~nxa type "%%~a"&echo, echo %%~nxa)>new$ move new$ "%%~a">nul)pause