heh.
that's so simple in kix...

 Code:
$theFile="C:\Program Files\minirec\record.ini"
if exist($theFile)
  if ""=readprofilestring($theFile,"ExtTools","")
    $=writeprofilestring($theFile,"ExtTools","ArchivalProgram","C:\ImportApp\OnBaseImportApp.exe")
    $=writeprofilestring($theFile,"ExtTools","ArchivalProgramParams","-docTypeID=125 -docTypeGrpID=101")
  endif
else
  $=MessageBox("Can't find minirec config file at " + $theFile)
endif


NOTE!
I did write this code in quick reply and it hasn't been checked for errors.
at least the messagebox code is not right, so check the syntax for it and fix it.
I am too lazy to do that.
_________________________
!

download KiXnet