Every Google Earth user is going mad about path and distance: you can get Path or Distance but not both.
This little snipset help you to get path AND distance.
- Create your path as usual with Google Earth
- Save it as a .kml file (not .kmz)
- Run the this script