diff --git a/Player/PlayerDoc.cpp b/Player/PlayerDoc.cpp index d116b24..7263b19 100644 --- a/Player/PlayerDoc.cpp +++ b/Player/PlayerDoc.cpp @@ -1338,7 +1338,8 @@ CString CPlayerDoc::generateConversionScript(CString outputFolder) const std::basic_string fileName{fileNameWithExt, ::PathFindExtension(fileNameWithExt)}; - auto command = _T("copy \"") + s + _T("\" \"") + fileName + audioExt + _T("\"\r\n"); + auto command = + _T("copy \"") + s + _T("\" \"") + static_cast(outputFolder) + fileName + audioExt + _T("\"\r\n"); strText += command.c_str(); } }