Determines if both paths share the same root.

Syntax

IsSameRoot = SRP_Path("IsSameRoot", Path1, Path2)

Parameters

ParameterDescription
Path1A path without command line parameters.
Path2A 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

  • No labels