AnsweredAssumed Answered

how to make long file name shorter

Question asked by helenak on Jul 11, 2012
Latest reply on Jul 12, 2012 by zerokc
System: ArcGIS 9.3


I have five shapefiles with long names:
A8923_Dis_shp.shp, A4592_Dis_shp.shp, A9820_Dis_shp.shp, A1276_Dis_shp.shp, A3726_Dis_shp.shp

I want to make their names shorter, such as
A8923.shp, A4592.shp, A9820.shp, A1276.shp, A3726.shp

Please kindly advise python code to carry out the task.
Thank you