I'm looking for a software that allows me to read/browse a tree file generated by windows cmd like

tree /f /a > tree.txt

Is there something like that?


1 Answer 1


You can do the same with PowerShell, try this command

Get-ChildItem | tree c:\your_path /f | Export-Clixml your_filename.xml

Then you can use any program to read the XML, also you can use the export to CSV with the param Export-Csv instead of Export-Clixml.

  • 1
    Here is the syntax for Get-ChildItem
    – Josem
    Oct 15, 2017 at 15:44
  • 1
    Any way to convert already created tree.txt? And which xml browser is recommended? Oct 15, 2017 at 17:24
  • @Josem you ought to consider posting an answer Dec 10, 2019 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.