Why are also *.tiff files output by Windows command DIR on searching for *.tif files?
问题 I want to use the Windows command DIR in order to find only TIF files, i.e. files with extension .tif . Therefore I use the following small batch file: for /f "delims=" %%a IN ('dir /b /a-d /s "C:\wolter\testversion-input\*.tif"') do echo %%a for /f "delims=" %%a IN ('dir /b /a-d /s "R:\wolter\testversion-input\*.tif"') do echo %%a Now I am wondering that this command also finds TIFF files, i.e. files with extension .tiff . So I made some tests and found out that the command DIR finds TIF AND