Ooomigosh, what on Earth is all that!

You are making things pretty hard for yourself.

Keep all the code within KiXtart, there is no need to use the DOS For command.

Use KiXtart "Split()" to break the mapping line ($x) into an array, then do the mapping in the loop rather than calling external code.

Much easier, much faster, and much less prone to error.

As for the DOS variables, "%" is a reserved metacharacter in KiXtart, so try doubling them up "%%b" -> "%%%%b"

[EDIT]
I've just noticed you have "NoVarsInStrings" on, but you have variables embedded in your strings, which is going to cause you problems.
[/EDIT]


Edited by Richard H. (2004-05-28 02:06 PM)