diff --git a/src/apps/expander/ExpanderThread.cpp b/src/apps/expander/ExpanderThread.cpp index aa6a475b23..d0e9c843c0 100644 --- a/src/apps/expander/ExpanderThread.cpp +++ b/src/apps/expander/ExpanderThread.cpp @@ -64,7 +64,7 @@ ExpanderThread::ThreadStartup() BPath path(&srcRef); BString pathString(path.Path()); - pathString.CharacterEscape("\"$`", '\\'); + pathString.CharacterEscape("\\\"$`", '\\'); pathString.Prepend("\""); pathString.Append("\""); cmd.ReplaceAll("%s", pathString.String());