Select to view content in your preferred language

Changing source directory for data files in Feature Class layer

274
2
01-30-2025 07:57 AM
JohnBobbitt
Emerging Contributor

How can batch edit the front portion of the source directory for the Shapefile without using the "SET DATA SOURCE" box? I need to keep the file name (*.shp) and preceding folder, but change the drive and path. For ~200 Feature Class Layers

0 Kudos
2 Replies
AlfredBaldenweck
MVP Regular Contributor

Try right-clicking on the map in Catalog and hitting "Update DataSources"

AlfredBaldenweck_0-1738253470929.png

 

Then you can hit "Find and replace", enter in what you need, and then hit "validate and apply".

AlfredBaldenweck_1-1738253525465.png

 

There are other ways to do it with code, but this is pretty user-friendly.

0 Kudos
JohnBobbitt
Emerging Contributor

THANKS!  That's exactly what I needed.

 

-jbb

0 Kudos