20 lines
420 B
Markdown
20 lines
420 B
Markdown
# tree
|
|
|
|
> 显示指定路径的目录结构图形树。
|
|
> 更多信息:<https://learn.microsoft.com/windows-server/administration/windows-commands/tree>。
|
|
|
|
- 显示当前目录的树:
|
|
|
|
`tree`
|
|
|
|
- 显示特定目录的树:
|
|
|
|
`tree {{path\to\directory}}`
|
|
|
|
- 显示包含 [f]ile 的目录树:
|
|
|
|
`tree {{path\to\directory}} /f`
|
|
|
|
- 使用 [a]SCII 字符而不是扩展字符显示树:
|
|
|
|
`tree {{path\to\directory}} /a` |