If you are using Arduino as ISP, you will need to change -c avrispmkii to -c arduino.
I think that was AVRDUDE's confusion with com4.
If you are using Arduino as ISP, you will need to change -c avrispmkii to -c arduino.
I think that was AVRDUDE's confusion with com4.