ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Command Line

Available with Business Analyst license.

Sometimes it is necessary to code a file without interaction from the user interface. Perhaps you require one program to start an Address Coder job running without interaction from you or you have a series of saved projects that need to be run automatically. This can be done by using a command line parameter.

Address Coder accepts one command line parameter, an Address Coder project file. Address Coder project files are created with the user interface. Set up a job the way you normally would, selecting the input and output files, data items, and reports. Click Save on the toolbar to create the .cpr file. This file can then be used during batch processing or from the command line.

Command line use has a form similar to the following:

"c:\Program Files\ESRI\Address Coder\acoder.exe" "d:\My Projects\Project_01.cpr"

The parameter containing the .cpr file should always contain the full path. The .exe string and .cpr string should be enclosed in double quotes (" ") if they contain any spaces. If you have a number of projects, you can place a series of statements like the one above in a .bat file that can be executed from Start > Run or a command prompt.

Address Coder project files are text files that are in an .ini format, are easily edited with any text editor (for example, Notepad), and can be accessed programmatically if you need to generate a large number of project files.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2022 Esri. | Privacy | Legal