MCA,

Long line Police here. [Smile]

You should be able to replace -
$system_drive+"kix"+Substr(@kix,1,1)+Substr(@kix,3,2)+"w.ok"
$destination_directory+"kix"+Substr(@kix,1,1)+Substr(@kix,3,2)+"w.ok"

With -
$kixfil[0]='kix'+Substr(@kix,1,1)+Substr(@kix,3,2)+'w.ok'

$system_drive+$kixfil[0]
$destination_directory+$kixfil[0]

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's