well, you do it the hard way but basically, this works.
now it's the same as if the udf file WAS INSIDE YOUR SCRIPT FILE.
which is the basic way.
now, in your TEST.KIX use the udf.

there is no need for any bat files.
_________________________
!

download KiXnet