powershell command to open cmd at a folder code example Example: powershell open cmd Start-Process -FilePath cmd.exe