Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!bruce!monu1!monu6!cpa From: cpa@monu6.cc.monash.edu.au (Christopher P Avram) Newsgroups: comp.windows.ms Subject: Re: Recursive Windows Message-ID: <1991Jan15.130613.24106@monu6.cc.monash.edu.au> Date: 15 Jan 91 13:06:13 GMT References: <91014.153634YTHPRGDB@MTUS5.BITNET> <11057@jpl-devvax.JPL.NASA.GOV> Sender: cpa@monu6.cc.monash.edu.au Organization: Caulfield Campus, Monash University, Melb., Australia. Lines: 36 In article <11057@jpl-devvax.JPL.NASA.GOV> brad@huey.Jpl.Nasa.GOV writes: >In article <91014.153634YTHPRGDB@MTUS5.BITNET>, YTHPRGDB@MTUS5.BITNET writes: >|>Is there any nice way to prevent your users from recursively running windows? >|>... of Windows. The computer runs SO slow it's unbearable. > >Create the batch file WIN.BAT: >------------------------------ >echo off >... >:exit >Brad Hines I have had this problem with other menu programs in another life. The solution then was to write a bat file, a simpler one than Brad's. The Dos EXIT command is a no-operation to the root level command.com shell. So just after you boot EXIT does nothing. But in a command.com shell started by Windows, the EXIT command will terminate the shell and return you to windows. You can use this. Write a batch file with EXIT as the first command, then start windows with the second command. eg: File:w3.bat @Echo off exit win Chris Avram Department of Computer Technology Faculty of Computing and Information Technology Monash University Caulfield Campus PO Box 197 Phone + 61 3 573 2196 Caulfield East Vic 3145 Fax + 61 3 573 2745 AUSTRALIA email cpa@monu6.cc.monash.edu.au