I have a webapp which has read/write/execute access to an aliased directory. When I am in debug mode in Visual Studio, the following statement works:
Directory.Move("\\\\localhost\\Alias\\oldDirectory","\\\\localhost\\Alias\\newDirectory");
The net result is that, oldDirectory
is now newDirectory
in the aliased directory.
But, when I'm testing this code in pre-production, I have oldDirectory
and newDirectory
in the aliased directory. Directory.Move
is now behaving as if it is only copying oldDirectory
to newDirectory
.
Why is this happening?