Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Combines two paths ensuring exactly one backslash between them.

Syntax

Code Block
NewPath = SRP_Path("Combine", Path1, Path2)

Parameters

ParameterDescription
Path1A path without command line parameters.
Path2Another path without command line parameters.

Returns

The combined paths as a single path.

Remarks

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.

Example

Code Block
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") 

...