#include <iostream> using namespace std; int main (void) { string x = "CMD /C yourCommandHere"; system(x.c_str()); return 0; }