| `IF EXIST <filename> <command>` | `if (<filename> \| path exists) { <command> }` | Run a command if the file exists |
| `IF DEFINED <variable> <command>` | `if '$<variable>' in (scope variables).name { <command> }` | Run a command if the variable is defined |
| `MD` or `MKDIR` | `mkdir` | Create directories |
| `MKLINK` | | Create symbolic links |
| `MOVE` | `mv` | Move files |
| `PATH` | `$env.Path` | Display the current path variable |
| `PATH <path>;%PATH%` | `$env.Path = ($env.Path \| append <path>`) | Edit the path variable |
| `PATH %PATH%;<path>` | `$env.Path = ($env.Path \| prepend <path>`) | Edit the path variable |
| `PAUSE` | `input "Press any key to continue . . ."` | Pause script execution |
| `PROMPT <template>` | `$env.PROMPT_COMMAND = { <command> }` | Change the terminal prompt |
| `PUSHD <path>`/`POPD` | `enter <path>`/`dexit` | Change working directory temporarily |
| `REM` | `#` | Comments |
| `REN` or `RENAME` | `mv` | Rename files |
| `RD` or `RMDIR` | `rm` | Remove directory |
| `SET <var>=<string>` | `$env.<var> = <string>` | Set environment variables |
| `SETLOCAL` | (default behavior) | Localize environment changes to a script |