try this one
.MODEL Tiny
.386
OPTION CaseMap:None
;####################################################################################
.CODE
;************************************************************************************
ORG 100h
_main PROC NEAR
xor cx,cx ;file attribute = 0
mov dx,offset szTxtExt
mov ax,4E00h ;Find First File
int 21h
mov dx,offset s$NotFound
jc ShowMessage
mov dx,offset s$Found
ShowMessage:
mov ah,9
int 21h
mov dx,offset s$Finish
mov ah,9
int 21h
mov ax,4C00h
int 21h
_main ENDP
;####################################################################################
szTxtExt db '*.txt',0
s$Found db 'File Found',13,10,24h
s$NotFound db 'File Not Found',13,10,24h
s$Finish db 'Finish',13,10,24h
;####################################################################################
END _main