Output of tree in command prompt

后端 未结 5 1656
耶瑟儿~
耶瑟儿~ 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:49

    Simpler.

    You just need to export your result like this: tree /a /f >"toto.rtf"

    Then you open the file with Word and choose MS DOS convert.

提交回复
热议问题