If you used the batch file you showed in your first post then the window will not close as long as you don't press a key... Simply scroll the window to read all the text.
Anyways, if you are working in a bacth file or wanting to do stuff on the command line it is always best (and logic) to first start the command interpreter, instead of doing everything from inside a batch file or from Windows Explorer:
Windows Start > Run > cmd