Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


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.


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