# Dir list command

#### You:
what is the dir list cmd 

#### ChatGPT:
If you're using **Windows Command Prompt**, the command to list files and folders in the current directory is:

```cmd
dir
```

Examples:

- List contents of the current folder:
  ```cmd
  dir
  ```

- List contents of a specific folder:
  ```cmd
  dir C:\Users\YourName\Documents
  ```

- Show only directories:
  ```cmd
  dir /ad
  ```

- Show files in wide format:
  ```cmd
  dir /w
  ```

- Include hidden files:
  ```cmd
  dir /a
  ```

If you're using **Linux**, **macOS**, or **PowerShell**, the equivalent command is usually:

```sh
ls
```

or in PowerShell:

```powershell
Get-ChildItem
```

Tell me which operating system or shell you're using if you want more specific examples.
