Customized changes to 600+ routers

I need to add a static route to 600+ cisco routers, but each gateway is going to be different.  How would I accomplish that?