# Command Line Operations

Command Prompt>(Inaport path) (ipi path\ipi name)

Inaport can be run with .ipis from the command line. An .ipi file is set up and saved in Inaport and is the procedure used by Inaport to import records into GoldMine. The .ipis that Inaport is run with do not have to be in the same directory as Inaport. Below are examples of how to use this operation. All the examples assume that the names of the .ipi's to be run are CreateContacts.ipi and CreateDetails.ipi

Problems With Directory Names

Spaces

If a directory name includes a space then an error will occur. If a directory name contains a space then the whole path must be contained within double quotes, for example, if the .ipi to be run is held in the directory:

C:\Test Ipis\

then the text needed to run Inaport from the command line would be:

C:\Program Files\Inaplex\Inaport>Inaport "C:\Test Ipis\CreateContacts.ipi"

Examples
Firstly, open a command screen (typically Start - Programs - Accessories - Command Prompt). Then,

1. Navigate to the directory where Inaport is held
If Inaport is installed in the default directory (C:\Program Files\InaPlex\Inaport) the command to navigate to Inaport, typed in at a "C" command prompt, would look like this:

C:\>cd Program Files\Inaplex\Inaport

The command line should now look like this:

C:\Program Files\Inaplex\Inaport>

2. Run Inaport from the command line
To do this, type:

C:\Program Files\Inaplex\Inaport>Inaport CreateContacts.ipi

where Inaportis the name of the executable and CreateContacts.ipi is the required ipi
If the .ipi to be run is in a different directory to Inaport such as:

C:\TestIpis\CreateDetails.ipi

then type the following:

C:\Program Files\Inaplex\Inaport>Inaport C:\TestIpis\CreateContacts.ipi