Marco and Mike, I tried the vbs script and it works indeed. This solves already part of my problem.
Marco, in your example, did you load the rtf-files manually into the BLOB ? the only problem is that the script has to be placed in the same directory as the files to convert, although the code apparently could let me pass an argument. But when run with the Launch command in Rbase, it doesn't accept parameters. What I'm looking for is the following: 1. All my radiology reports are in one directory 'c:\Protocol' 2. For each patient a folder is created in this directory. The name of the folder is the PatID of the patient in the database ..E.G. c:\Protocol\600829DL00 3. Each reports is named according to the consultnummer of that patient and is placed in the correct patient-folder. e.g. c:\Protocol\600829DL00\10082401.doc I need to find a way to loop through the table consult. In this table I have a Patid and a consultnummer on each row. With those two parameters I am able to retrieve each associated report. 4. Then I have to run the Doc2rtf vbs on the report of each patient-folder in the Protocol-directory. 5. Once I have the converted report I have to load it automatically into the ProtocolBLOB in the Consult-table. So I have to be able to loop through the Consult-table, put the patID and consultnummer into a variable, check if there is an associated folder and file based on those variables, run the Doc2Rtf on the report of that consultation and update it in the BLOB of the consult-table with the right consultnummer. Luc D.

