That looks fine to me. I wouldnt use "goto" though as this can slow your script down. And also take out the pause.

What version of kix are you using?

Also what happens if you run the script locally from the machne? Map the drives manually and then execute the script, does it happen now?
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields