Well, I'll be the first to admit that I don't understand how (why?) it works further up in the script. Don't understand the connection to assembler either... particularly since KiX isn't written in assembly. What comes to assembly, at least there, every line is fully understandable. With APIs, there's a lot hidden under the covers.

My memory of assember is more recent (early 80s) but still does not enlighten.

The reason I say it may turn and bite is that XP has changed the behaviour of %0.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.