This is a highly ill advised pursuit. The safety issues of trying to produce your own mains cord easily outweigh any benefit that you might perceive. I have seen equipment damaged by some of the "commercial" offerings from high-end manufacturers of mains cords. Dealers have related a number of stories of fires; I suspect that some of these are factual. This is not an area where DIY approaches should be considered. Kevin Halverson