2018-01-28 12:06:13 +00:00
|
|
|
# tree
|
|
|
|
|
|
|
|
> Display a graphical tree of the directory structure for a path.
|
2022-10-04 20:36:23 +05:30
|
|
|
> 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 17:23:49 +10:00
|
|
|
`tree {{path\to\directory}}`
|
2018-01-28 12:06:13 +00:00
|
|
|
|
2024-10-03 09:45:19 +07:00
|
|
|
- Display the tree for a directory including [f]iles:
|
2018-01-28 12:06:13 +00:00
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`tree {{path\to\directory}} /f`
|
2018-01-28 12:06:13 +00:00
|
|
|
|
2024-10-03 09:45:19 +07:00
|
|
|
- Display the tree using [a]SCII characters instead of extended characters:
|
2018-01-28 12:06:13 +00:00
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`tree {{path\to\directory}} /a`
|