diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index d66a2a424..903f99b37 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -2575,7 +2575,7 @@ bool CMovieBrowser::delFile_std(CFile& file) { bool result = true; char buf[FILENAME_MAX]={0}; - snprintf(buf,sizeof(buf), "nice -n 20 rm -f %s &", file.Name.c_str()); + snprintf(buf,sizeof(buf), "nice -n 20 rm -f \"%s\" &", file.Name.c_str()); system(buf); TRACE(" delete file: %s\r\n",file.Name.c_str()); return(result);