where it does the window command add to the front of it ///ECHO -st / then instead of the command it well echo it to the status window, then u can try the command manually and see whats wrong with it, (if it doesnt become blatently obvious just by looking at it)