Ok, so, as many of you know, in linux, in order to cd to a directory, if this dir has spaces you have to put a \ before you put the space or you have to put the whole directory into " " . With a QtFile::getOpenFileNames I get a QStringList which contains all the filenames. So, I have a Unix command-line program which needs to do something with these directories and has, as it is logical, it doesn't work if the directory has spaces. So, I have to take every QStringListVariable[x] and to edit it separately. How can I do this?