I do this programmatically in my Exchange utility with the .toStringPartial() method of the fullPath TagPath object.
.toStringPartial()
fullPath