From ca5fd0b9707476094069aaa641836e2b3239b263 Mon Sep 17 00:00:00 2001 From: LZY Date: Mon, 24 Apr 2023 15:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {