In the black window that appears, type the following and press : dir /b > filelist.txt /b creates a "bare" list (names only).
how to make a text file of folder contents? - Linux Mint Forums
Are you looking to list (like just .jpg or .pdf), or do you need to include files from subfolders as well?
The fastest way to generate a list of files and save it directly into a new text document is using a simple command: Open the folder in .