run a command in cmd with c
snippet in c

run a command in cmd with c

user6397

//C library statement
#include <stdlib.h>

//Driver program
int main(void)
{
	//The C command to run a command in cmd
	system("Your command here");
}