Convert ADIF to Delimited Text File

(C) John R. Petrocelli (WA2HIP)  2013




**** Purpose ****

    This simple utility is intended to facilitate the coversion of a "properly formatted"
ADIF file to a delimited text file.  This file may then be used for import into such
applications as MS Excel (R) or others.

    The output files as mentioned in this distribution are taylored to match the
MS Excel Log worksheets in the WA2HIP Log System.  As such, a Template has been provided to
facilitate import of the delimited text file ouput into this worksheet.  One shold be
with the "Data===>Get_external_Data===>>Import_Text_File" options from the Excel menu.


**** Config File (INI File) ****

   The Config File (hereafter referred as the INI File) is a simple text file from which
various parameters are set and subsequently used by the program.
   Two (2) sample ini files are provided: 1 for LOTW download ADIF files and 1 for eQSL
download files.

   Comments are in the INI files and one should review the comments as these explain
the parameters

   Of important note is the METADATA part of the INI file.  This contains the list of
ADIF tags from which data will be extracted.  The output delimited text file will have
values placed in this order, separated by the user-selected delimiter character.
   Tags of particular note are:
    1. Freq  -  Since Freq may or may not be in the ADIF file the option exists
                to use the BAND ADIF data to determine the Frequency
    2. "="   -  Any data appearing after the "=" will be placed exactly as
                entered in the output file.
                There are 2 exceptions however:
                  A. Date()  will result in the system date being placed in the output
                  B. Time()  will result in the system time being placed in the output
    3. Blank -  Will result in a null/blank entry being placed in the output.
               
    
  Note that any ADIF tag not found will result in a null/blank entry in the output.

**** Running The Program ****

  The tested environment is Windows (R)

  After properly editing the INI file to reflect input file, output file and user options,
it is simply a matter of starting a CMD prompt and entering:

                  CSCRIPT   ADIF2Delim.vbs    INI="Your-INI-File"


**** Legal Stuff ****

  The included Code and any related materials is provided "as is" with no express or
implied warranties of any type.  Further, use of the code and information is at the 
user's own risk and the author assumes no liability for loss of data, information,
use or otherwise.

  Any reference to any commerical program or application is not considered an endorsement 
or recommendation of that particular item.  Further, any referenced applications and programs
are the copyright, trademarks, etc of their respective owners.

**** Distribution ****

  The application and information is freely placed in the public domain for the
Ham Radio community.  No charges may be applied by any person or person's using or
distributing the material herein.
  The author retains all copyrights but does not guarantee any support or distribution
of any upgrades.

