I have several hundred PNGs from which I want to remove the alpha channel. I know how to remove the alpha channel in GIMP, but I don't know how to use batch mode to do all the files in one go. Can someone explain how to do this?

(Or, if there's a better way of removing transparency from a load of PNGs, let me know?)