Combines two paths ensuring exactly one backslash between them.
NewPath = SRP_Path("Combine", Path1, Path2) |
Parameter | Description |
---|---|
Path1 | A path without command line parameters. |
Path2 | Another path without command line parameters. |
The combined paths as a single path.
The Combine service appends the second path to the end of the first path ensuring exactly one backslash between them. This service does not check whether or not either path is well formed, it simply combines them.
Result = SRP_Path("Combine", "C:\Path", "File.txt") Result = SRP_Path("Combine", "C:\Path", "\File.txt") Result = SRP_Path("Combine", "C:\Path\", "File.txt") Result = SRP_Path("Combine", "C:\Path\", "\File.txt") |
Notice how it doesn't matter if either or both of them have a backslash, the result will always be just one backslash between them.