Get a list of folders and sub folders [CMD Windows]

With the files

dir /s /b /o:n > list_files.txt


Without the files:

dir /s /b /o:n /ad > list_dirs.txt


Help more:

https://www.computerhope.com/dirhlp.htm

Comments