Determines if the path is a relative path.
IsRelative = SRP_Path("IsRelative", Path) |
Parameter | Description |
---|---|
Path | A path without command line parameters. |
1 If the path is relative, 0 if it is absolute.
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.
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.
IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRoot, IsSameRoot, IsSystemFolder, IsUNC, IsURL