harriyott.com

Wednesday, November 23, 2005

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.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home