And you may just want to convert the code into KiXtart. There is very little you can do in batch scripting that you can't do in KiX. KiX is much more flexible and powerful.