Is there any way to hide an MS-DOS window, so that it doesnt show anywhere on the screen, but still have it running?
hidden MS-DOS window
Posted by Arsen on Sat 05 Oct 2002 04:25 AM — 10 posts, 32,072 views.
Well, you can minimize it. :)
If that isn't good enough, under many versions of Windows (eg. NT, XP, 2000) you can make it a "service" which runs in the background where you don't see it. See the services.txt help file that came with my download.
If that isn't good enough, under many versions of Windows (eg. NT, XP, 2000) you can make it a "service" which runs in the background where you don't see it. See the services.txt help file that came with my download.
Ok I am feeling stupid. I am running under XP Pro. When I do whats said in services.txt, all that happens is the mud gets booted. No services get installed or anything. Is there a different method?
It worked for me. I tried it under XP Home, which should be much the same. This is what I saw ...
After doing that the window closed and I was able to connect to the character from MUSHclient. In other words, it was running as a service.
C:\smaug>smaug /?
SMAUG 1.4a
Usage is :-
SMAUG - runs as a service, or stand-alone
SMAUG /run - runs stand-alone
SMAUG /start - starts this service
SMAUG /stop - stops this service
SMAUG /install - installs this service
SMAUG /remove - removes (un-installs) this service
SMAUG /status - displays the status of this service
SMAUG /help - displays this information
C:\smaug>smaug /install
SMAUG 1.4a
Service successfully installed
C:\smaug>smaug /start
SMAUG 1.4a
Start request sent to service
C:\smaug>smaug /status
SMAUG 1.4a
The service is running.
C:\smaug>exit
After doing that the window closed and I was able to connect to the character from MUSHclient. In other words, it was running as a service.
When u do what nick said to do , you will be able to connect to the mud from any client , G-mud ,Zmud etc.....
C:\SMAUG>sembia /?
LOADING SEMBIA V0.22b........
Tue Aug 12 19:53:23 2003 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tue Aug 12 19:53:23 2003 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
I use sembia cause my .bat is renamed. when I try any command tied to it, it just boots the mud.
LOADING SEMBIA V0.22b........
Tue Aug 12 19:53:23 2003 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tue Aug 12 19:53:23 2003 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
I use sembia cause my .bat is renamed. when I try any command tied to it, it just boots the mud.
Quote:
When u do what nick said to do , you will be able to connect to the mud from any client , G-mud ,Zmud etc.....
When u do what nick said to do , you will be able to connect to the mud from any client , G-mud ,Zmud etc.....
MUSHclient, even. ;)
Quote:
when I try any command tied to it, it just boots the mud.
when I try any command tied to it, it just boots the mud.
Try using gdb to work out why it is crashing.
I apologize if I made myself unclear. When I type anything with sembia, ex:
sembia /?
sembia /install
sembia /start
(I use sembia because my smaug.bat is renamed to sembia.bat) the mud boots up, even if its already booted in another window or not.
sembia /?
sembia /install
sembia /start
(I use sembia because my smaug.bat is renamed to sembia.bat) the mud boots up, even if its already booted in another window or not.
Those instructions were for the smaug.exe that is available for download here. If you compile under Cygwin, and then execute a batch file, you are probably using the "Unix" version of SMAUG, not the one with the WIN32 enhancements such as services.