2018-01-28 12:06:13 +00:00
|
|
|
# tree
|
|
|
|
|
|
|
|
> Display a graphical tree of the directory structure for a path.
|
2020-09-16 13:19:57 +01:00
|
|
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/tree>.
|
2018-01-28 12:06:13 +00:00
|
|
|
|
|
|
|
- Display the tree for the current directory:
|
|
|
|
|
|
|
|
`tree`
|
|
|
|
|
|
|
|
- Display the tree for a specific directory:
|
|
|
|
|
|
|
|
`tree {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Display the tree for a directory including files:
|
|
|
|
|
|
|
|
`tree {{path/to/directory}} /f`
|
|
|
|
|
|
|
|
- Display the tree using ASCII characters instead of extended characters:
|
|
|
|
|
|
|
|
`tree {{path/to/directory}} /a`
|