Search code examples
.netfilepath

How can one get an absolute or normalized file path in .NET?


How can one with minimal effort (using some already existing facility, if possible) convert paths like c:\aaa\bbb\..\ccc to c:\aaa\ccc?


Solution

  • Path.GetFullPath perhaps?