You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Converts a file URL into a Windows path.

Syntax

Path = SRP_Path("UrlToPath", URL)

Parameters

ParameterDescription
URLA URL beginning with "file://"

Returns

The URL reformatted into a path.

Remarks

The UrlToPath service removes the file://" prefix if it exists.

Example

Result = SRP_Path("UrlToPath", "file://C:\path\filename.txt")

Result will be "C:\path\filename.txt"

See Also

IsURL, PathToUrl

  • No labels