* Program...........: SET_SAARI_CP.PRG * Author............: José Constant * Project...........: Autosoft * Created...........: 15/10/98 20:03:48 * Copyright.........: (c) Constant Software Systems, 1998 * Compiler..........: Visual FoxPro 05.00.00.0415 for Windows CLOSE DATABASES SET DEFA TO ("f:\saari\autocons") gnDbfnumber = ADIR(gaTable, '*.DBF') && Create array CLEAR FOR nCount = 1 TO gnDbfnumber && Loop for number of databases DO home() + "tools\cpzero\cpzero" WITH GaTable[nCount,1], 0 DO home() + "tools\cpzero\cpzero" WITH GaTable[nCount,1], 1252 && your case probably 437 or 850 ENDFOR SET DEFA TO C:\CDBK30\AUTOSOFT && Set path to Visual FoxPro directory