@echo off set count=0 for /f "delims=" %%i in ('dir /s /b *.fem') do ( set /a "count=count+1" ) echo Number of fem files in the folder = %count% pause exit 0
Output:
Number of fem files in the folder = 20 Press any key to continue . . .
Sep 23, 2023 | batch | 0 comments
@echo off set count=0 for /f "delims=" %%i in ('dir /s /b *.fem') do ( set /a "count=count+1" ) echo Number of fem files in the folder = %count% pause exit 0
Output:
Number of fem files in the folder = 20 Press any key to continue . . .
Subscribe now to keep reading and get access to the full archive.
Recent Comments