I don't think there's any way to do that, outside of scripting (which can access the favorites list and pull paths out of it).
Without scripting, you could have an alias which is used in commands, and then point the Favorite to the alias to avoid defining the same path in two places.