Simon Harriyott

Is a directory path absolute or relative?

After a bit of digging around, I found that

Path.IsPathRooted(directoryName)

can be used to check whether a directory path is absolute or relative in .NET.
23 November 2005