@ECHO OFF SETLOCAL SET fnm=%1 SET cfn=%fnm:.txt=% set cfn=%cfn:~4,8% echo %cfn% ENDLOCAL
for %x in (*.txt) do list %x
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)