I was hoping to be able to use the
tree /F /A > \"desktop\"\\file.txt
command to output only text files. Currently as is, it outputs every
It's actually not that hard to get your desired TREE output using FINDSTR regular expressions. :-)
tree /f /a | findstr /ri /c:"^[^| ]" /c:"^[| ]*[+\\]" /c:"\.txt$"