Closed monkeyhell closed 7 years ago
If you invoke Directory.CreateDirectory, passing it a UNC path that is MAX_PATH (i.e. 260) characters long, it works fine. If you instead pass a UNC path that is MAX_PATH - 1 (i.e. 259) characters long, it throws a System.IO.PathTooLongException.
If you invoke Directory.CreateDirectory, passing it a UNC path that is MAX_PATH (i.e. 260) characters long, it works fine. If you instead pass a UNC path that is MAX_PATH - 1 (i.e. 259) characters long, it throws a System.IO.PathTooLongException.