Forum Discussion
LordLeek
Dec 16, 2021Copper Contributor
C# Directory.Exists is false positive
.NET6
Noticed some curiosity:
System.IO.Directory.Exists("\\server\somefolder") returns true also a File.Move was successfully performed to this folder and the Files are moved into nirvana without any Exception.
Yes in Fact \\ did not work and my solution was \\\\ for the correct network path...
But is there any deeper meaning in this behavior?
Thx for some hints @any Developer Buddy
No RepliesBe the first to reply