2017-11-05 15:54:15 +00:00
|
|
|
# dir
|
|
|
|
|
|
|
|
> List directory contents.
|
2022-10-04 16:06:23 +01:00
|
|
|
> 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:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`dir {{path\to\directory}}`
|
2017-11-05 15:54:15 +00:00
|
|
|
|
|
|
|
- Show the contents of the current directory, including hidden ones:
|
|
|
|
|
|
|
|
`dir /A`
|
|
|
|
|
|
|
|
- Show the contents of a given directory, including hidden ones:
|
|
|
|
|
2023-02-20 07:23:49 +00:00
|
|
|
`dir {{path\to\directory}} /A`
|