I have this code that creates a std::filesystem::path from another existing path:
std::filesystem::path outfilename = PathToNewVersionTXT;
Is it possible to convert outfilename to a const char* type? As that is what is required later down in the code.