Can I run vCard Import Export from command line?

Yes, it is possible to run vCard Import-Export from command-line to import or export Outlook contacts. See examples below.

  • To import -x 0 "Contacts EntryID"*** "Contacts StoreID"*** "Windows folder with vCards to import" 0(duplicate managemet option index)
  • To export -x 1 "Contacts EntryID"*** "Contacts StoreID"*** "Windows folder for vCards to be exported" 7(export vCards created in last 7 days) 0(Save to one file, 0 - no, -1 - yes) "SQL Filter"
  • To split vCard -x 2 "Single vCard" "Folder with splitted vCards"
  • To combine vCard -x 3 "Folder with multiple vCards" "Folder with combined vCard"

Example export command

vcie.exe -x 1 "00000000B857F1ED429AAF438BE0EDE7781ACEF122810000" "7073742E646C6C00000000004E495441F9BFB80100AA0037" "D:\" 7 0 "LastModificationTime >= '2012-01-01' and LastModificationTime <= '2012-01-14'"

Alternatively (this can fail in some scenarios)

vcie.exe -x 1 "\\Outlook\Contacts" "AnyDummyString" "D:\" 7 0 "LastModificationTime >= '2012-01-01' and LastModificationTime <= '2012-01-14'"

*** To find EntryID and StoreID, do the selected task over GUI, then click Start > Run, type "%appdata%", navigate to Topalt\vCard ImportExport\ and open config.xml. It should be listed there.