Batch
Public
List Files by Extension
A Windows CMD command that lists files with a selected extension into a text file.
#cmd
#windows
#files
#beginner
Batch
@echo off
dir /b *.png > png-files.txt
echo File list saved to png-files.txt
pause
Notes
Change *.png to another extension such as *.jpg or *.pdf.