powershell open cmd

C++
powershell -ExecutionPolicy Bypass -Command "your script here"
Start-Process -FilePath cmd.exe
Source

Also in C++: