table of Contents
Foreword
Sometimes we encounter or want to print a list of all directory folders, subdirectories, files. If you can use
树状
a more convenient way to show up we looked at.
Print directory tree
- Cmd to open a command window (shortcut key windows built + R)
- Into the folder you want to print
- Output
tree
carriage return, the tree is automatically printed out. (tree /f
Print folder all files)
Save tree
tree >d:\名字.txt
tree /F >d:\名字.txt