File.SetDir (gb)
Static Function SetDir ( Path As String, NewDir As String ) As String
Sets the directory part of a path, and returns the modified path.
Examples
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component
* A standard type of path
/my/path/file.ext
/new/path/file.ext
* Set a relative path
my/path/file.ext
new/path/file.ext
* Add a path to a file and extension
file.ext
/new/path/file.ext
* Change a path without a file name and extension
my/path/
new/path/