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
Post a Comment