Determines if the path is a relative path.

Syntax

IsRelative = SRP_Path("IsRelative", Path)

Parameters

ParameterDescription
PathA path without command line parameters.

Returns

1 If the path is relative, 0 if it is absolute.

Remarks

The IsRelative service determines if the path is relative or absolute. It examines the format of the path to do this, so it doesn't matter if the path contains existing directories or not.

Example

Result1 = SRP_Path("IsRelative", ".\BMPS")
Result2 = SRP_Path("IsRelative", "BMPS")
Result3 = SRP_Path("IsRelative", "C:\BMPS")

Result1 and Result2 will be 1. Result3 will be 0.

See Also

IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRoot, IsSameRoot, IsSystemFolder, IsUNC, IsURL

  • No labels