About C:Amie · Technical Articles · GFX & Artwork · Analog C:Amie Edition Sunday, 23 April 2017

Script to split single file multiple contact VCF file into individual VCF files for each included contact (Import Android Contacts Export file into Microsoft Outlook)

System Requirements:

  • Windows Scripting Host 5.6 or higher
  • Windows 95, NT 4, 98, 98SE, ME, 2000, XP, Vista, 7, 8, 8.1, 10
  • Windows Server NT 4, 2000, 2003, 2003 R2, 2008, 2008 R2, 2012, 2012 R2, 2016

The Problem:

I did an export from the People / Contacts on Android which produced a single .VCF vContact file for all of the contacts. On attempting to import it into Outlook, Outlook ignored all but the first entry in the file.

Additionally, you may not want to import all of the contacts in the monolithic VCF.

The Fix

The VB Script file below will take the .VCF file and split it into individual .VCF files, one for each contact.

The script will create a sub-directory in the same folder that the script is executed from and all of the new .vcf files will be placed in here using the name of the user.

Download

  • No warranty is offered or implied for the use of this script. No liability is inferred for damages caused as a result of its use. Use it at your own risk
  • You may use the script for free for personal use
  • You may not redistribute this script. If you want to link to it, please link to this page.

Download: SplitVCard version 1.0.0 (2.57 KB)

Usage Instructions

You can either drag and drop the monolithic VCF file onto the SplitVCard.vbs file in Windows Explorer or use the command line syntax as follows to specify the path of the source file.

cscript.exe SplitVCard.vbs "C:\Bla\Bla\Bla\Contacts.vcf"

Limitations

As this is a VB Script file, the naming conventions are currently only setup for ASCII. If you wanted to use Unicode or another encoding, you will need to edit the script.

 

Article Published: Monday, 21 November, 2016
Article Revision Date: Monday, 21 November, 2016

This site is not associated with the Microsoft Corporation. The information on this page is provided as is and is free for those who visit to use. Microsoft Operating Systems, Internet Browsers and applications are the property of the Microsoft Corporation. Windows software patches and updates are the property of the Microsoft Corporation and are provided through the hard work and dedication of the Microsoft Security, Operating System, and Application development teams.

© C:Amie
1996 - 2017. All Rights Reserved (769)
All trademarks mentioned are the property of their respective owners.