When replacing a cord, it is important that you maintain both proper polarity and safety. While altering the polarity of the power cord could incurr a safety hazard in itself, i'm talking about adding some type of "strain relief" to secured the cord within the device. Otherwise, it would be possible for one of the wires to break free from the circuit board due to rough handling, snagging the cord while moving something else, etc... If such were the case, the "hot" wire could come free, short out the unit, start a fire, shock / electrocute you when attempting to handle the chassis, etc...
Since most replacement cords are larger than factory cords, you may end up removing / negating the factory strain relief / cable clamp. As mentioned above, you may even have to drill out the hole a bit. The main thing here is to make sure that the metal chassis is free of burrs / sharp edges. Once you've done that, soldered / attached the cord in place to the circuitry, you need to secure the cord in place. The cheapest / easiest way to do this is to use a wire tie on the inside and outside of the chassis. This keeps the power cord from being shoved into the box and at the same time, minimizes the chances of the cord being yanked right out of the box. If you want further protection, applying a layer of "hot melt" or "hot glue" around the entire power cord where it meets the chassis inside the box will both reinforce the holding power of the wire tie and actually anchor the cord to the chassis. This is a "generic" method that works well and is completely reversible in my experience. In most cases, the "hot melt" can be peeled away from the chassis and power cord with no visible signs of damage to either.
As a side note, BE VERY CAREFUL when drilling into a chassis. Besides the potential for drilling into circuitry / wiring, you will also produce loose metal shavings. Not only do these shavings have the potential to short things out, they can find their way into moving mechanisms and do permanent damage. ALWAYS clean a unit out very thoroughly after opening it and doing ANY work on it. It is a simple precaution that just might save you a LOT of money and grief. Don't take for granted that you did everything "right", cuz all it takes is ONE mistake to negate the benefits of a new cord and give you a major headache / heartache. Sean
>