tldr/pages/windows/dir.md

21 lines
445 B
Markdown

# dir
> List directory contents.
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dir>.
- Show the contents of the current directory:
`dir`
- Show the contents of a given directory:
`dir {{path/to/directory}}`
- Show the contents of the current directory, including hidden ones:
`dir /A`
- Show the contents of a given directory, including hidden ones:
`dir {{path/to/directory}} /A`