I am trying to print a list of the folders and sub folders of a directory to a file.
When I run dir /s/b/o:n > f.txt
, I get a list of the files also. I only need the folders and sub folders.
Anyone know is this possible to do this from command line interface?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…