cmd - How do i get a list of folders and subfolders without the files -


i trying print list of folders , subfolders of directory file.

when run dir /s/b/o:n > f.txt list of files also.

i need folders , sub folders.

anyone know possible command line interface?

try this:

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

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -