Need to rename multiple shapefiles with attribute values

Discussion created by biledriver on May 22, 2012
Latest reply on Oct 28, 2013 by h.smith89

I'm at a bit of a loss and need some help please.

I'm creating a simple model to create masks from features in a shapefile.  I select by attribute, then do a buffer so that each buffered feature becomes its own shapefile.  Now my problem is that I need to rename those individual buffered shapefiles a value from the its attribute table.  All this is being done in model builder as I'm looking at around 500 new shapefiles to be created, for this iteration of the model.  The value is a short string, nothing fancy, just a simple code.  I would prefer to the following sequence: Iterate -->Buffer -->Rename -->More stuff ---> rince repeat.  

I've been racking my brain and searching online but can't find anything that really works for what I need.  If anyone can help me out it'd be greatly appreciated.