From: "Matthias Paul" Organization: IBH, RWTH-Aachen To: opendos AT mail DOT tacoma DOT net Date: Tue, 11 Mar 1997 15:46:58 GMT+0100 Subject: Re: [opendos] OD case sensitivity Reply-to: Matthias DOT Paul AT post DOT rwth-aachen DOT de Message-ID: <348B2FE71E1@ibh.rwth-aachen.de> Sender: owner-opendos AT mail DOT tacoma DOT net Precedence: bulk Hi! On Fri, 7 Mar 1997 Mark Habersack replied to me: [IBMBIO passes pre-environment to command processor] > > Some may call this a bug, but it's also a feature, if it's known... > > (Mind, that a pre-environment was introduced with DR DOS 6.0, long > > before MS-DOS 6.0 did it rather differently). > I consider this to be a feature, but also a cause for headaches for some, > unexperienced, users. So, the conclusion is that the feature should be made > optional. I agree. It should be made selectable by a new CONFIG.SYS directive like FORCEENVUPCASE=|OFF There are some other pre-environmental issues that should be put into OpenDOS (FYI, refer my SETENV.ZIP package... Beside other things, I was willing to take this job, if I find the time for it...) [4DOS] > > 4DOS & NDOS do not evaluate the pre-environment, when they build > > the master-environment from it. They just take it over. > > So, strange side effects appear with these command processors, > > if you don't upstring all your CONFIG.SYS SET= directives. > > > > To avoid some of the problems, 4DOS & NDOS have with DR DOS style > > pre-environments, you should insert: > > > > IF "4"=="%@Eval[2+2]%" c:\opendos\command.com /C EXIT > Or just put it in the 4start.btm No, you can't do that, since this would be executed every time, you spawn into a new shell. AUTOEXEC.BAT normally is executed only once... ;-) (else we'd to do some more precautions here). Of course, you can improve my example by adding: IF "4"=="%@Eval[2+2]%" IF ""=="%Os%" c:\opendos\command.com /C EXIT Bye, Matthias ------------------------------------------------------------------ Matthias Paul ! My eMail address has changed. For some time ! Ubierstrasse 28 ! mails to former ! D-50321 BRUEHL ! will be forwarded to the new address. ! eMail: WWW : URL: http://www.rhrz.uni-bonn.de/~uzs180/mpdokger.html ------------------------------------------------------------------