Creating a configuration file for renaming shapefile fields

Shapefile data fields can be renamed using a configuration file, which is a comma-separated text file that contains the current name of the column and its new name. This allows you to replace truncated field names that are greater than 10 characters with meaningful names.

NoteNote:

You cannot rename ID, shape, geometry, or other uneditable field names.

Example of a configuration file

The text file must be formatted as follows so it will work with the Rename Shapefile Fields Command:

Steps:
  1. Start ArcCatalog.
  2. Choose a shapefile in the Catalog tree and click the Preview tab.
  3. Click the Preview drop-down arrow and choose Table.

    The table with all the fields for the shapefile appears.

  4. Open a new text document in a text editing program.
  5. Type the name of each field for the shapefile whose fields you want to rename, followed by its new name.

    The format for this will be [current field name],[new field name].

  6. Repeat as needed for each field in the shapefile.
  7. Save the document as a text file (.txt).

4/17/2012