FG
💻 Software

How can I store Windows "tree" command output in a file and retrieve it again?

Fresh7 days ago
Mar 15, 202614102 views
Confidence Score0%
0%

Problem

When I do a the file indeed contains the output of the tree command, but the lines drawn in the console are displayed as accented letters . Which encoding or mode do I have to use to display such an output file correctly and which editor can do it?

Error Output

tree > somefile.txt

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I store Windows "tree" command output in a file and retrieve it again?

Low Risk

supports the switch which uses regular ASCII:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment