Select to view content in your preferred language

Renaming a shape file and all associated files

3483
9
08-17-2022 12:25 PM
mkhenson
Emerging Contributor

Greetings....quick question:

When using ArcMap, I could rename a shape file, and it would also automatically rename the associated files with it (prj...etc).  When I try this in ArcGis pro, it only renames the .shp file.  Any idea what I might be doing wrong, or what I need to be doing otherwise?  Thanks

Mike

0 Kudos
9 Replies
Robert_LeClair
Esri Notable Contributor

I'm using ArcGIS Pro 3.0.1 and was able to successfully rename all the shapefile components using the Catalog Pane in ArcGIS Pro.  In the shapefile folder in the Catalog Pane, right-click the shapefile and choose rename.  Rename the file.  In File Explorer, verified all shapefile components are renamed correctly.  What is your workflow?

0 Kudos
mkhenson
Emerging Contributor

right click on the shape file name.  Do a rename.  Check in windows explorer, and the only file renamed is the shp file.

 

0 Kudos
mkhenson
Emerging Contributor

i should say "right click ini the catalog pane"

 

0 Kudos
Robert_LeClair
Esri Notable Contributor

Interesting.  What release of ArcGIS Pro are you using?

0 Kudos
mkhenson
Emerging Contributor

Arcgis Pro 2.9.0

 

0 Kudos
Robert_LeClair
Esri Notable Contributor

I don't see anything in the internals about a BUG or similar customer reports.  I wonder if the shapefile is corrupt.  You could run the Repair Geometry GP tool described here or create a new shapefile from the old, test the renaming workflow or export to a file geodatabase feature class, try the rename procedure and then export it back to a shapefile.  Or rename the ESRI folder to ESRI_OLD in your c:/users/<user_profile>/appdata/local and c:/users/<user_profile>/appdata/roaming to see if that fixes the problem.  Any possibility of upgrading to ArcGIS Pro 3.0?

0 Kudos
mkhenson
Emerging Contributor
thanks for your efforts....I just did it 3 times, and the 3rd time it worked. Very strange, but I'm good now!

TamsenWaldron
Occasional Contributor

I just had the same problem and had to manually rename all the parts in window explorer.  Such a waste of time and it worked fine in ArcMap but not Pro.  Just another reason I dislike Pro...  It always forces me to work harder not smarter.

0 Kudos
DPEnergy
New Contributor

Yeah, it is almost a year later, and I am having the same issue. And 100 shapefiles to rename 😓. Any solution?

 

0 Kudos