getRootPath.Explorer function

Gets the root path of the output directory