mojoe, that's not really a good idea... depending on the valve on your tube, it may not even work. compressors tend to move a large amount of air very fast, so you can blast the tire right off your rim if you're not careful.
If it's all you have then by all means - go for it. You still need something to inflate tires while you're riding. I have one of those little dinky compressor things in my saddle bag because I got sick of my frame pump rattling.