Determines if the path points to a remote network directory.

Syntax

IsNetworkPath = SRP_Path("IsNetworkPath", Path)

Parameters

ParameterDescription
PathA path without command line parameters.

Returns

1 If the path points to a valid network directory.

Remarks

The IsNetworkPath service determines if the directory is both valid and resides on a remote drive.

Example

Result1 = SRP_Path("IsNetworkPath", "C:\Windows")
Result2 = SRP_Path("IsNetworkPath", "W:\MyRemoteDirectory")

Result1 will be 0. Result2 will be 1, assuming the W:\ drive is mapped to a remote drive.

See Also

IsDirectory, IsDirectoryEmpty, IsRelative, IsRoot, IsSameRoot, IsSystemFolder, IsUNC, IsURL

  • No labels