Get-Attribute

Write your question here.
Hi all, I've been trying to code a function that will return the attributes of a selected file. The action that I am trying to carry out would be to reset the attribute, say, from read-only. I have a feeling that this should be very easy, but I am 83 years old, and learning new things is difficult. I would appreciate any help with this.
Thanks, Malcolm J.
C++17 has filesystem library.
Permissions: https://en.cppreference.com/w/cpp/filesystem/perms
Topic archived. No new replies allowed.