Page History
...
The IsSameRoot service determines if the two path share the same root. This is useful to checking to see if two paths point to the same drive.
Example
Code Block |
---|
Result1Result = SRP_Path("IsSameRoot", "C:\Windows", "C:\Users") Result2 = SRP_Path("IsSameRoot", "\\server\dir", "\\server\sub") |
Both results Result will be 1.
See Also
IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRelative, IsRoot, IsSystemFolder, IsUNC, IsURL