Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!sdd.hp.com!think.com!yale!cmcl2!uupsi!sunic!news.funet.fi!funic!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms Subject: Re: Exiting Windows 3 after application Message-ID: <829@tuura.UUCP> Date: 7 Nov 90 09:49:16 GMT References: Distribution: comp Organization: Nokia Data Systems Oy Lines: 33 bgonderm@nmsu.edu (Bryan Gondermger) writes: > ... following command: >win -r w:winword >This works OK - WORD for Windows is loaded and operates properly. The >"problem" is that when the user exits WORD, they are returned to >Windows and not DOS (and the menu program). Is there some way to make >Windows automatically exit after an application (specified from the >command line) is terminated? Hi! A sort-of-a-cure to this 'problem' is to make the Winword the shell of a Windows session. This is done by modifying the SYSTEM.INI under the "boot" section tag line 'shell=progman.exe'. Change it to read 'shell=winword.exe' The drawback is that the other Windows programs are not available, unless the new shell is capable of running them. Well, Winword can do that using macros (or the Run... option in case of Control Panel, Clipboard, etc.), but another drawback is to have multiple SYSTEM.INIs or change the one each time when different Windows program is being run. By the way, why don't you use the Windows' Program Manager instead for the 'Choose-a-program-to-run' ? It *can* do DOS apps, too, if that's the problem. Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 2 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME! Now working on 2 +1 * replies: risto@yj.data.nokia.fi ***************************************