Whilst trying to list out my files in my movie drive
https://www.minitool.com/news/how-to-open-drive-in-cmd.html
To open D:/>
, type command
D:
To list folders, open directory in command line and type
dir > listoffiles.txt
or for subfolders included
dir /s >listoffiles.txt
or give full path name
dir >D:\listmyfiles.txt
or give list of only a certain file type, like PDFs
dir /s *.pdf >listpdf.txt