mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
26 lines
593 B
Plaintext
26 lines
593 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, windows]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# tree
|
|
|
|
> Display a graphical tree of the directory structure for a path.
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tree>.
|
|
|
|
- Display the tree for the current directory:
|
|
|
|
`tree`
|
|
|
|
- Display the tree for a specific directory:
|
|
|
|
`tree {{path o\directory}}`
|
|
|
|
- Display the tree for a directory including files:
|
|
|
|
`tree {{path o\directory}} /f`
|
|
|
|
- Display the tree using ASCII characters instead of extended characters:
|
|
|
|
`tree {{path o\directory}} /a`
|