2017-11-05 15:54:15 +00:00
|
|
|
# dir
|
|
|
|
|
|
|
|
> List directory contents.
|
2020-09-16 13:19:57 +01:00
|
|
|
> More information: <https://docs.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}}`
|
|
|
|
|
|
|
|
- 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`
|