GetParentDirectory

Retrieves the parent directory of the specified path, including both absolute and relative paths.

SYNTAX
GetParentDirectory(path) 
ARGUMENTS path Path from which the parent directory is retrieved.
RETURN The parent directory or an empty string when the path is the root directory, including the root of a UNC server or shared name.