tldr/pages/windows/dir.md

25 lines
528 B
Markdown
Raw Normal View History

2017-11-05 15:54:15 +00:00
# dir
> List directory contents.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/dir>.
2017-11-05 15:54:15 +00:00
- Show the contents of the current directory:
`dir`
- Show the contents of a given directory:
`dir {{path\to\directory}}`
2017-11-05 15:54:15 +00:00
- Show the contents of the current directory, including hidden ones:
`dir /a`
2017-11-05 15:54:15 +00:00
- Show the contents of a given directory, including hidden ones:
`dir {{path\to\directory}} /a`
- Show a bare list of directories and files, with no additional information:
`dir /b`