2018-01-28 12:06:13 +00:00
|
|
|
# tree
|
|
|
|
|
|
|
|
> Display a graphical tree of the directory structure for a path.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.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:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`tree {{path\to\directory}}`
|
2018-01-28 12:06:13 +00:00
|
|
|
|
|
|
|
- Display the tree for a directory including files:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`tree {{path\to\directory}} /f`
|
2018-01-28 12:06:13 +00:00
|
|
|
|
|
|
|
- Display the tree using ASCII characters instead of extended characters:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`tree {{path\to\directory}} /a`
|