How to recursively list files (and only files) in Windows Command Prompt?

dir /a-D /S /B will produce the result you want:

enter image description here

enter image description here