Du mener tage parametre?
char buffer[1024]; char * command = "dir"; char * path = "c:\\\\windows"; snprintf(buffer, sizeof(buffer), "%s %s", command, path); system(buffer);