Alex Rivera | Logout

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

Asked 2009-08-12T14:49:30.793
68

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

Edit
Report

1 Answer

68

Path.GetFullPath perhaps?

answered 2009-08-12T14:50:57.373

Your Answer