Monthly Archives: October 2007

How to tell if a path is relative or absolute

There is no function or method in the .NET framework to find this out directly.  I had though that Path.IsPathRooted(string) would do the job, but it seems that paths can be both relative, and rooted.  The path “C:bin\Debug\app.exe” is perfectly valid.  … Continue reading

Posted in C# | Tagged | Leave a comment