Hi all,

Thankyou for all your help....appreciate it.
I managed to spring together these few lines of code and it seems to work for me..

break on
$txt1 = @LDRIVE + "\xxx.txt"
$txt2 = @LDRIVE + "\yyy.txt"
Open (1,$txt1)
$rl = ReadLine(1)
while @error=0
shell '%comspec% /c find /i "$rl" $txt2'
if @error=1
open(2,"%temp%\zzz.log",5)
$ = writeline(2,"$rl"+@crlf)
endif
$rl = readline(1)
loop
close(2)
close(1)