| 4 | |
| 5 | std::wstring const XCopyTest::Application = Env::GetFolderPath(Env::SpecialFolder::System32) + LR"(\xcopy.exe)"; |
| 6 | bool XCopyTest::Run(std::vector<TestOperation> const& paths) |
| 7 | { |
| 8 | std::vector<Process<wchar_t>> processes; |
| 9 | for (auto const& item : paths) |
| 10 | { |
| 11 | processes.push_back(Process<wchar_t>{ |
| 12 | XCopyTest::Application, |
| 13 | std::format(LR"("{}" "{}" /Y /E /C /I /H)", item.source, item.destination) |
| 14 | }); |
| 15 | } |
| 16 | WaitForAllProcesses<wchar_t>(processes); |
| 17 | return true; |
| 18 | } |
| 19 | |
| 20 | std::string XCopyTest::GetName() const |
| 21 | { |