修改路径问题

master
LZY 3 years ago
parent 383090c89c
commit ca5fd0b970

@ -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)
{

Loading…
Cancel
Save