I'd like my console application to update files in a specified directory. However, I am getting Permission Denied message when attempting to use File.WriteAllLines
method.
Is there a way to run my console application to allow this update. I'd rather not have to manually give directories permission to Everyone or something like that (Or what might work is to adjust permission from c# then reset when I'm done, maybe)