diff --git a/apps/mwiniimporter_tests/main.cpp b/apps/mwiniimporter_tests/main.cpp index 886076f769..8d270b07d7 100644 --- a/apps/mwiniimporter_tests/main.cpp +++ b/apps/mwiniimporter_tests/main.cpp @@ -42,8 +42,7 @@ int runBinary( { #ifdef _WIN32 std::wstringstream cmd; - cmd << L'& "' << binaryPath.native() << L'"' << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"' - << cfgPath.native() << '"'; + cmd << L"& '" << binaryPath.native() << L"' -i '" << iniPath.native() << L"' -c '" << cfgPath.native() << "'"; return _wsystem(cmd.str().c_str()); #else std::stringstream cmd;