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
I've succeeded getting the output as it is in console, with all non-ascii characters not converted, by outputting to the console (just tree
) and then copying from it (system menu -> Edit -> Mark, selecting all, Enter). Console buffer size should be increased in advance, depending on number files/folders, in the console's properties (system menu -> Properties). Other ways didn't work. tree|clip
, mentioned in an earlier post, converts non-ascii characters to ascii ones the same as tree>file.txt
.