0

I am trying to save log files to the user/documents directory on corporate client laptops running Windows 10 but if oneDrive is active, it grabs the entire documents folder structure. It is impossible to know if the laptops have onedrive or not. Question: Is there a way to bypass onedrive and save to the local documents dir?

Currently I am having to test if the client has onedrive or not. It would be helpful if I could make the code agnostic about this issue and always save to local user documents directory.

0 Answers0