Thanks to everyone who contributed I really appreiciate it.

With some help from Lonkero's code earlier, I have managed to get it working with :-

; $line is taken from a readline()
if substr($line,1,8)="sending "
$line=substr($line,9)
$dot=instr($line,".")
$line=substr($line,1,$dot + 3)
? "Sent file: " $line
endif

Works a treat, thanks again [Smile] [Smile] [Smile]

Anthony.