I have almost no knowledge of DOS but sometime ago, an helpful EE Expert provided me with a DOS command which creates a text file of a folder's directory. The command is as follows:
Dir "C:\Users\Username\Folder name" > "C:\Users\Username\Folder name\List.txt"
I have found this command to be a great tool and have used it multiple times.
When using this command, I've noticed that when the directory contains a subfolder, the subfolder name is included in the resulting .txt file with the preceding label: <DIR>, but no subfolder contents are included.
Is there a way to modify the above DOS command so that it will display not only subfolder names but their directories as well?