I've searched and tryed everything to get the number of file with a specific extension but i did found nothing, so i would need some help please, my problem :
I've got multiple files with differents extensions, and i need to put the number of files that has for extension .NDS in a variable
Ex: (for the exemple, i gonna put 2 files that has the extension .nds)
@echo off
set number=0
FOR %%f in (