windows folder directory tree display

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

  1. Cmd to open a command window (shortcut key windows built + R)
  2. Into the folder you want to print
  3. Output treecarriage return, the tree is automatically printed out. ( tree /f Print folder all files)

Steps

Save tree

tree  >d:\名字.txt
tree /F >d:\名字.txt

Steps

Published 29 original articles · won praise 19 · views 1316

Guess you like

Origin blog.csdn.net/s1156605343/article/details/104682154