You want to edit with the .avi format. Then once you are done editing you export it into w/e format you want to distribute it as.
Also I'm surprise you can't open it. Did you try installing Divx?
www.divx.com Although I highly doubt that's the problem. Anyways, keep it in .avi. If you can't edit with it, then there is something wronng with your computer.