subpath(
FOLDER
,
SUBFOLDER
)

The subpath( function returns the HFS path of a subfolder of a specified folder.


Parameters

This function has two parameters:

folder – the original folder

subfolder – the desired subfolder. This could be two or more levels deep, in which case each folder name should be separated by / (for compatibility with older versions of Panorama, a colon (:) is also accepted).


Description

This function returns the HFS path of a subfolder of a specified folder.

subpath(info("userfolder"),"dropbox") ☞ Mercury HD:Users:markwilson:dropbox

See Files and Folders to learn more about HFS paths.

Note: This function is equivalent to:

folderpath(thefolder)+replace(subfolder,":",info("foldersepchar"))

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.