Converts a Windows path into a file URL.
Syntax
URL = SRP_Path("PathToUrl", Path)
Parameters
Parameter | Description |
---|---|
Path | A path without command line parameters. |
Returns
The path reformatted into a URL
Remarks
The PathToUrl service prefixes the given path with "file://" if it isn't there already.
Example
Result = SRP_Path("PathToUrl", "C:\path\filename.txt")
Result will be "file://C:\path\filename.txt"