k, tried the registry part.
it works just fine for me.

anyway, you can drop the len() part from the until.
resulting in just:
code:
 UNTIL @error 

_________________________
!

download KiXnet