diff --git a/main.cpp b/main.cpp index 8648ed3..7f5c157 100644 --- a/main.cpp +++ b/main.cpp @@ -165,8 +165,8 @@ int main(int argc, char* argv[]) { { fs::path path(it); auto strName = path.filename().string(); - std::string strPath = std::string(szSaveDir) + "/" + strName; - fs::copy_file(it,strName,fs::copy_option::overwrite_if_exists); + std::string strPath = std::string(szSaveDir) + strName; + fs::copy_file(it,strPath,fs::copy_option::overwrite_if_exists); ++i; if (i % 50 == 0) {