That's not a DOS window. You mean the command prompt which looks like a DOS style window.
You've probably made a mistake in the settings/configuration. Are you using the native screamernet app?
Using a controller would be a million times easier. If you are just running one node you can use most paid apps for free.
If you launch a command line executable by double clicking it in an windows explorer window, run it from the "run" command or via a short cut; the command prompt window will close after the executable has finished executing.
If you launch it by opening a cmd prompt and typing the executable name then the cmd prompt window will stay open even when the executable is no longer running.
So the closing of the cmd prompt window will simply be because screemer net has actually exited.
I assume you are passing it a wrong command like argument or something and it's running and exiting rather than running and waiting to be issued something to do; but I don't really know anything specifically about screemer so I won't be much help solving that
Getting batch files to stay put while you read error messages...
What I like to do in batch files ("sn_init.bat" or whatever you wanna call it) during the testing/error checking phase is put the command
timeout /T 30
so it will give me time to troubleshoot the error messages. Was just doing this last night while learning ScreamerNet for the first time. Got the host laptop running perfectly as a node1 but I'm having a wee issue with a remote node (just doing 1 remote node). Solved 1 error already with the
Error: Can't open message table
error message. Turns out I needed to put the "*.ENU" files in the lwsn.exe directory. The post below helped me a lot with that one, even though I'm using Win8.0 on the host and W7 Home on the remote here.