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
This worked for me:
tree /f /a > %temp%\Listing >> files.txt