Please use the KiXtart BBS Search as these topics have been discussed numerous times.

Potential solution:
Enumerate files in first directory with any of the DIR UDFs that are posted in the UDF Forum.
Check whether an identical file exists in the second directory. Finally, if there's an identical file, wirte into log file with WRITELINE
code:
;pseudecode (non-working, for illustration purposes only)
$filelist=dirplus('c:\temp\*.*')
for each $file in $filelist
$newfilelist=dirplus('d:\temp\'+$file)
if $newfilelist
; write log file
endif
next



[ 23. December 2002, 15:42: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.