1 2 3 4 5 6 7 8 9 10 11 |
@ECHO OFF ECHO Looking for *.xml files... SET /a count=0 FOR /F "delims=" %%i IN ('dir/s/b/a-d ".\*.xml"') DO ( ECHO Processing %%i SET /a count=count+1 ) ECHO Processed %count% files PAUSE |
1 2 3 4 5 6 7 8 9 10 11 |
@ECHO OFF ECHO Looking for *.xml files... SET /a count=0 FOR /F "delims=" %%i IN ('dir/s/b/a-d ".\*.xml"') DO ( ECHO Processing %%i SET /a count=count+1 ) ECHO Processed %count% files PAUSE |