Determines if both paths share the same root.
Syntax
IsSameRoot = SRP_Path("IsSameRoot", Path1, Path2)
Parameters
Parameter | Description |
---|---|
Path1 | A path without command line parameters. |
Path2 | A path without command line parameters. |
Returns
1 If both paths share the same root, 0 otherwise.
Remarks
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
Result = SRP_Path("IsSameRoot", "C:\Windows", "C:\Users")
Result will be 1.
See Also
IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRelative, IsRoot, IsSystemFolder, IsUNC, IsURL