char str[200]; scanf("%80[^\r\n]", str); (chdir(str)
char str1[400]; char str[200]; char dirc[200]; if(getcwd(dirc, sizeof(dirc)) != NULL){ scanf("%5[^\r]", str); str1[400] = sprintf("%s %s", dirc, str); } chdir(str1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)