ok, I guess I missed that. if you launch sc.exe from explorer, then when it's done it will close. Should have asked you... glad that you got it working...
oh and for the furture, if you want to run a program that is based in dos, always do it from CMD.exe. it's the best way to see what it's about... Any program if you execute it from cmd will either open a new window or run in the cmd window.
Good luck