Original User: evandebroek
Hi,
I have hundreds of ASCII rasters with very long file names that I need to shorten before I can do subsequent geoprocessing (I get a flurry of errors because the names are too long and have unusual characters in them). Unfortunately, these files are automatically named by a modeling program and I cannot change the way they are named to start with.
For example, I want to rename:
Run3-37_output, 2080, 1.664 meters _GIS.ASC
To:
R3372080n.ASC
What is the best way to do this? All the file names are the same structure, so I could use string parsing functions like "Left()" and "Right()" but by what means? Ideally I'd like to do this in ModelBuilder.
Thanks for your suggestions!
Elena V