You can get rid of the confirmation by appending "-close" to the wwmp2wmb command line.
The map compiler expects $$M files by the way, not WMPs. Just look at one of the $$M (or do a forum search) to figure out the format.