Converts a file URL into a Windows path.
Syntax
Path = SRP_Path("UrlToPath", URL)
Parameters
Parameter | Description |
---|---|
URL | A 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"