10 STEPS TO GET TO BETTER THAN NEW
It's a fairly fiddly job. But if the original design called for taped ends on the hood cords and you want them back in that state. Here is what you do. If the ends were never taped and were tied in a knot instead. Then I would not do this. This is about getting an old item back into its original condition.
STEP 1.
Using scissors trim some but not all of the fray off, leave about 10mm. Cut a 15mm length of heatshrink and slide it about 10mm onto the cord.
For those thinking why don't I use a piece of clear heatshrink for the whole process, you can't easily get heatshrink clear and thin enough when shrunk for a neat job.
STEP 2.
Poke the 10mm of frayed cord into a suitable metal tube.
STEP 3.
GENTLY heat the heatshrink don't stick a flame directly on it. You only need to heat it not burn it. Practice first if you have never used this tubing before. Make sure the metal tube stays flush to the heatshrink. Concentrate on shrinking the end toward the metal tube than the exposed cord side of the heatshrink. When done and while the heatshrink is still hot and pliable, roll it in your fingers to compact the cord.
STEP 4.
Cut another piece of heatshrink about 12mm in length and slide it over the fray and onto the already shrunk tubing.
STEP 5.
Work some suitable glue into the cord fibers.
STEP 6.
Slide the heatshrink back over the glued up cord so that it is flush to the end of the already shrunk tube. Don't overlap the heatshrink, you won't get a sharply finished edge.
STEP 7.
Once again heat the heatshrink. This time you are bound to get flames if you are using a cigarette lighter as your heat source as the glue is very flammable. Blow the flames out as quick as you can, you don't want to overheat it. It will only burn at the ends of the tubing, not actually through it. When done and while the heatshrink is still hot and pliable, roll it in your fingers to compact the cord and glue.
STEP 8.
After waiting a couple of minutes to cool. Use a sharp blade to cut a line down to not quite the full depth of the heatshrink. Too deep, you'll cut the cord.
STEP 9.
Peel it away, trim the end off.
STEP 10.
Perfect. Just like the original.

WARNING You must exercise caution when heating the glue. Glue is flammable, you must work on a suitable surface clear of any other flammables. You will burn you fingers if you are not careful. I can not be held responsible for your carelessness