I'm trying to copy an entire directory from a USB drive to C: drive on a Windows device. Using <filesystem>. It runs fine, but nothing happens. No errors. Using Visual Studio 2019 and switched language preference to C++17. Looking to insert a USB device into our machines at work and update/replace a certain directory on C: drive. Any ideas?
#include <filesystem>
if (!std::filesystem::exists("F:/WORK STUFF")) {
std::filesystem::copy("F:/WORK STUFF/Installer/Installer/*", "C:/Installer");
}