why not just wire the receptacle you need for the welder to the main line coming from the breaker box and wire the air compressor into the back of that and not even have the dryer outlet?

the A/C would have power and you could plug in the welder with out making a custom extension cord?