Determines if the path points to a root drive or network store.
IsRoot = SRP_Path("IsRoot", Path) |
Parameter | Description |
---|---|
Path | A path without command line parameters. |
1 If the path points to the root of a drive or network store.
The IsRoot service determines if your path is just pointing to the root of a drive. Network server roots also count, such as "\\server\store". However, if the path contains anything at a sub-directory level, this returns 0.
Result1 = SRP_Path("IsRoot", "C:\") Result2 = SRP_Path("IsRoot", "\\server") Result3 = SRP_Path("IsRoot", "\\server\dir") |
All results will be 1.
IsDirectory, IsDirectoryEmpty, IsNetworkPath, IsRelative, IsSameRoot, IsSystemFolder, IsUNC, IsURL