Public Function IsPathRelative( _
ByVal vPath As Variant _
) As Variant IsPathRelative("C:\") = False
IsPathRelative("C:Temp") = True
IsPathRelative("C:\Temp") = False
IsPathRelative("C:\Temp\..\VB.Tmp") = True ' #4
IsPathRelative("Entisoft\Temp") = True
IsPathRelative("\Entisoft\Temp") = True
IsPathRelative("\\SJS4\Entisoft") = False
IsPathRelative("\\SJS4\Entisoft\Temp") = False
IsPathRelative("\\SJS4\Entisoft\..\Temp") = False ' #9See also: MakePathAbsolute FunctionvPath: The path name that is checked to see if it is relative or absolute. Function returns Null if vPath is Null or cannot be fixed-up to a string.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.