Partager via


Import a region list by command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To import a region list by command line

  1. Open Command prompt.

  2. At the command prompt, type the following:

    cd \Program Files\PBA

  3. At the command prompt, type the following, using the appropriate paths and file names:

    Pbadmin.exe /I*[phone_book_name]/R[region_file_path]\[region_file_name]*

    Command-line parameters are case-sensitive.

  4. Press ENTER.

Important

  • If you intend to administer PBA from the command line, do not use spaces in the path to pbadmin.exe or in the path to the phone book files.

Notes

  • You must be logged on as a member of the Administrators or the Power Users group to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

  • To open the command prompt window, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • For more information about the pbadmin command, type pbadmin /? at the command prompt, or see pbadmin in Related Topics.

  • Before you can import phone book or region files into a particular phone book, the phone book name must be registered in the Phone Book Administrator (PBA) phone books list. If the phone book name does not appear in that list, you must use PBA to create the phone book.

  • Phone book files saved in formats other than plain text (for example, Microsoft Word, WordPad, or Rich-Text Format) do not work properly.

  • Command-line region files do not match the region-file format imported or generated by the PBA user interface.

  • POPs and regions must be in separate files.

  • If you have not yet posted your phone book, you can import up to 32,000 POPs. If, however, you have already posted, the limit is 6,000 POPs (combined adds, edits, and deletes) for each subsequent post.

  • If you are importing POP files and region files by using separate commands, and if your POPs require region information, import your region file first.

  • Phone Book Administrator should not be open while you are importing files.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Add, edit, or delete regions by command line
Add and configure a new phone book
Administer phone books
Example region files containing U.S. states
Connection Point Services Troubleshooting
Pbadmin