$ResolvePath
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

$ResolvePath

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

$ResolvePath

Provides an absolute path (terminated with directory separator) based on a relative path and the current working directory; this will provide appropriate directory separators, based on the server in context

Script usage:

$ResolvePath(Path)

Parameters:

NameDescription
Pathpath

Example:

$ResolvePath(C:\MyDirectory) -> C:\MyDirectory\
$ResolvePath() -> {WorkingDirectory}
$ResolvePath(my\path/to/directory) -> {WorkingDirectory}/my/path/to/directory (on Linux)
$ResolvePath(my\path/to/directory) -> {WorkingDirectory}\my\path\to\directory (on Windows)
$ResolvePath(~\path) -> {ExecutionDirectory}\path

Was this article helpful?

What's Next