Saving 'tree /f /a" results to a textfile with unicode support

前端 未结 12 1741
清歌不尽
清歌不尽 2021-02-02 07:10

I\'m trying to use the tree command in a windows commandline to generate a text file listing the contents of a directory but when I pipe the output the unicode characters get st

12条回答
  •  佛祖请我去吃肉
    2021-02-02 07:53

    I've managed to properly output non-ascii characters from tree command into a file via Take Command Console.

    In TCC type "option" and on first tab select "Unicode output". Then simply run

    tree /f /a > output.txt
    

提交回复
热议问题