Directory.Move - Access to the path is denied

Hi, I am using System.IO.Directory.Move to move an entire folder from one location to another.

However, I get error Access to the path is denied.

I am able to move/modify the folder in Windows Explorer as per normal

Could it be because the folder is in read-only mode?

Also, what other factors may be causing this and how to resolve them?

Please include a demo workflow if possible

Nvm, solved it. Apparently when I select a file using Browse Files dialog, the system locks the file I select to prevent it from modification

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.