Converts a Windows path into a UNC path.
UNC = SRP_Path("PathToUnc", Path) |
Parameter | Description |
---|---|
Path | A path without command line parameters. |
The path reformatted into a UNC path
The PathToUnc service tries to find the UNC version of the path if possible. This is primarily useful for paths pointing to remote or mapped drives. If the path does not convert, then Windows could not determine where the drive maps to. This will happen if a drive is mapped to a local folder.
Result = SRP_Path("PathToUnc", "W:\path\filename.txt") |
If the W: drive points to \\myremotedrive\shared, then the result will be "\\myremotedrive\shared\path\filename.txt"