1

I want to create a word file that displays the tree structure of my music folder.
I only want to list the folders. For now I'm using the command line:

tree /f >tree. 

By using that command line the *.mp3 files also get listed.
How can I visualize only the folders as a tree on windows?

1
  • Use tree > tree.txt it will not report the files. PS> welcome on Super User
    – Hastur
    Jan 19, 2016 at 9:53

1 Answer 1

0

You can use simply (without the /f)

tree > tree.txt

and then import the file.txt in Word.


The general syntax of the command [1],[2] is

tree [Drive:][Path] [/f] [/a]

and the option /f is used to show the filenames too.

/f Displays file names in each directory.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .