# Coming from CMD.EXE
This table was last updated for Nu 0.67.0.
| CMD.EXE | Nu | Task |
| ------------------------------------ | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `ASSOC` | | Displays or modifies file extension associations |
| `BREAK` | | Trigger debugger breakpoint |
| `CALL <filename.bat>` | `<filename.bat>` | Run a batch program |
| | `nu <filename>` | Run a nu script in a fresh context |
| | `source <filename>` | Run a nu script in this context |
| | `use <filename>` | Run a nu script as a module |
| `CD` or `CHDIR` | `$env.PWD` | Get the present working directory |
| `CD <directory>` | `cd <directory>` | Change the current directory |
| `CD /D <drive:directory>` | `cd <drive:directory>` | Change the current directory |
| `CLS` | `clear` | Clear the screen |
| `COLOR` | | Set the console default foreground/background colors |
| | `ansi {flags} (code)` | Output ANSI codes to change color |
| `COPY <source> <destination>` | `cp <source> <destination>` | Copy files |
| `COPY <file1>+<file2> <destination>` | `[<file1>, <file2>] \| each { open --raw } \| str join \| save --raw <destination>` | Append multiple files into one |
| `DATE /T` | `date now` | Get the current date |
| `DATE` | | Set the date |
| `DEL <file>` or `ERASE <file>` | `rm <file>` | Delete files |
| `DIR` | `ls` | List files in the current directory |