Hello,
I'm using this simple C code:
char * command = NULL;
sprintf (command, "ls %s", folderpath);
system(command);
The problem is when the folder name has a space in it... I know that in Unix I need to add a "\", for example ls my\ folder\ name
How can I get around this ? Thank you!