lnh = fopen('MyExe.exe') if lnh > 0 then lcdata = fread(lnh,20000) if at(strconv(strconv('Microsoft Visual FoxPro',1),5),lcdata) > 0 then * VFP application else * it is not a VFP EXE endif =fclose(lnh) endifI tested this using very small EXEs (9K and 17K) and one "normal" VFP EXE (9.2 MB). The 20000 bytes worked for both. The VFP information is stored near the beginning of the EXE.