Oh yeah,

another addition :

if the variable $dospath is meant to be of type string you may want to assign this as $dospath = "$$n"

Just to prevent future Issues as the $-sign denotes variables in KiX 'normally'

J.
_________________________