In Linux/KDE, I can see a directory as a tree. How can I do it in Windows 7?
Consider I do NOT mean "Windows Explorer". This just shows the directories, I also want the files.
The folders tree on the left of the the Files and folders page defines the layout of the folders on the target system.
To restore the classic navigation tree, open Windows Explorer, click Organize, and select Folder and search options from the drop-down menu. On the General tab on the Folder Options dialog box, select the Show all folders check box in the Navigation pane box so there is a check mark in the box.
In the Windows command prompt you can use "tree /F" to view a tree of the current folder and all descending files & folders.
In File Explorer under Windows 8.1:
tree /f > tree.txt
and press EnterYou now have an editable tree structure file.
This works for versions of Windows from Windows XP to Windows 8.1.
tree /f /a
About
The Windows command tree /f /a
produces a tree of the current folder and all files & folders contained within it in ASCII format.
The output can be redirected to a text file using the >
parameter.
Method
For Windows 8.1 or Windows 10, follow these steps:
tree /f /a > tree.txt
and press Enter.tree.txt
file in your favourite text editor/viewer.Note: Windows 7, Vista, XP and earlier users can type cmd
in the run command box in the start menu for a command window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With