ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Command Line

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.

Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal