📜  windows 10 可视化目录树 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:19.945000             🧑  作者: Mango

代码示例1
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:

Select folder
Press Shift, right-click mouse, and select "Open command window here"
Type tree /f > tree.txt and press Enter
Use MS Word to open "tree.txt"
The dialog box "File Conversion - tree.txt" will open
For "Text encoding" tick the "MS-DOS" option
You now have an editable tree structure file.

This works for versions of Windows from Windows XP to Windows 8.1.