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



List only files:

dir /s /b /o:n  /a-d> list_files.txt


List directories and files

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


List only directories:

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


Help more:

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

Comments