i have an issue where i cannot access to any file in a mapped folder
my drive N: is mapped to \erpu9\clients\, and i have 1.txt file that i'm try to read.
the function File.Exists(@"N:\1.txt")
retun false, but File.Exists(@"\\erpu9\clients\1.txt")
return true.
same thing happened in FileInfo.Exists.
when i try to run File.ReadAllLines(@"N:\1.txt")
i got exception: Could not find a part of the path 'n:\1.txt', but File.ReadAllLines(@"\\erpu9\clients\1.txt")
is working fine
I'm really lost here, Any suggestions?
i'm using Windows 10, VS2013 if it relevant