For example in windows explorer?
In the absence of any further information,
c:> cd directory
c:> dir > files.txt
to write a list of files to a text file (files.txt)
EDIT: dir /b
to simply generate the bare file names
For just the file names:
c:\dir /b > files.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With