G
Guest
I have a windows service written in C# that WAS moving files individually.
Now I am trying to make it move entire directories. When trying to use the
DirectoryInfo.MoveTo() method I am getting a "access to the path is denied"
exception. This is being developed on the local system, service is starting
up with the local system account, and it work fine when using
FileInfo.MoveTo().
Any advice would be appreciated.
Now I am trying to make it move entire directories. When trying to use the
DirectoryInfo.MoveTo() method I am getting a "access to the path is denied"
exception. This is being developed on the local system, service is starting
up with the local system account, and it work fine when using
FileInfo.MoveTo().
Any advice would be appreciated.