cmd based multilevel tree structure tree displays folders

  •        OS : Windows 10 Version 1909
  •        blog : blog.csdn.net/shiwanwu
  •  typesetting : Markdown

code

C:\Users\Student>tree c:\test /f
文件夹 PATH 列表
卷序列号为 9EB4-603A
C:\TEST
│  新建文本文档.txt
│
├─test_1
│      新建文本文档1_1.txt
│
└─test_2
        新建文本文档2_1.txt


C:\Users\Student>

more knowledge

C:\Users\Student>tree /?
以图形显示驱动器或路径的文件夹结构。

TREE [drive:][path] [/F] [/A]

   /F   显示每个文件夹中文件的名称。
   /A   使用 ASCII 字符,而不使用扩展字符。


resource

  • [ doc - cmd ] docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/windows-commands
  • [Doc - OS] docs.microsoft.com/zh-cn/windows
  • [ msdn ] msdn.microsoft.com/zh-cn
  • [Platform] www.csdn.net


Thanksgiving has helped people over the division of all things.
cmd can perform common tasks, simple and fast start command, the proposed study.
There is spare capacity, you can look at PowerShell, PowerShell Core and Linux Shell.

Published 126 original articles · won praise 16 · views 60000 +

Guess you like

Origin blog.csdn.net/shiwanwu/article/details/104203202