Output of tree in command prompt

后端 未结 5 1654
耶瑟儿~
耶瑟儿~ 2021-01-30 17:22

I was hoping to be able to use the

tree /F /A > \"desktop\"\\file.txt

command to output only text files. Currently as is, it outputs every

5条回答
  •  无人及你
    2021-01-30 17:58

    Another simple option: Go to the directory you want to list out, type in CMD so you are already in the right place, then:

    tree /a /f>"output.doc"

    That will put it into a word doc, easier to edit and format from there.

提交回复
热议问题