G
Guest
I need to determine if a specified path exists, including the case, but .net
isn't making this easy.
system.io.file.exists is case-insensitive. If I create a fileinfo object in
hopes to retrieve the FullName property, or use
System.IO.Path.GetFullPath(Path), the exact case used in the search is
returned. In other words, if I ToLower the path, I get a LC path returned.
Any suggestions?
isn't making this easy.
system.io.file.exists is case-insensitive. If I create a fileinfo object in
hopes to retrieve the FullName property, or use
System.IO.Path.GetFullPath(Path), the exact case used in the search is
returned. In other words, if I ToLower the path, I get a LC path returned.
Any suggestions?