PATH can contain wildcards( * and ? ). e.g. if you want to list all the .DAT files in
C:\Windows\System32, use:
DIR "C:\Windows\*.dat" /A-D /B > FILEPATH
e.g.
DIR "C:\Windows\*" /A-D /B > "C:\WIndows\All Files List.txt"
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.