Extension Cord For 220 Welder

Hello I just picked up a harbor freight 220 vac mig welder. I dont have much welding to do a couple of floor patches and some work in the trunk.My question is my only 220 outlet is about 40' from the car can I run a extension cord? If I can what size wire should I get 10-3? Thanks Gene