views:

252

answers:

1

Is there a win32 function that will tell me if a path is relative or absolute?

Thanks,

+7  A: 

PathIsRelative()

jeffamaphone
Beware - PathIsRelative returns 0 for "\\test.exe", even though such a path is treated as relative to the current drive.
Jason R. Coombs