---
title: "$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
$ResolvePath(Path)
Name | Description |
---|---|
☆ Path | path |
$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