well, with above code the error you gave just ain't possible as there is no such line in the script.

may I ask, why do you shell with wscript and not directly with kixtart shell?