Message-ID: <3305A296.79D2@ro.com> Date: Sat, 15 Feb 1997 05:48:38 -0600 From: Killion Reply-To: killion AT ro DOT com Organization: CorbinSoft MIME-Version: 1.0 To: opendos AT mail DOT tacoma DOT net Subject: Re: [opendos] [OpenDOS] Wishlist part 2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-opendos AT mail DOT tacoma DOT net Precedence: bulk mharris AT blackwidow DOT saultc DOT on DOT ca wrote: > > On Fri, 14 Feb 1997, Killion wrote: > > > yeep wrote: > > > > > > Okay, here's today's update on my (all of our) wishlist: > > > > > ...fast forward... > > > (14] Fix "set path=c:\games;%path%" bug (I'm doing some checking on this, > > > > While we're in that ballpark, I'd like to see SET supported by IF. > > How so? > > IF "%VARIABLE" != "" THEN ... > > That works for me. Or is this not what you meant? > I'm looking for something like this: IF _CONDITION_ == _TRUE_ THEN SET _ENV_VAR_=_VALUE_ OpenDOS gives me an error when I try to use the above syntax. I can get IF to use GOTO, ECHO, and MD with no problems, but it just doesn't like SET. Now that I'm looking at it (DOSBook), the explanation of IF's logic contains a critical flaw. ...is executed when the condition is true (or true, if you specify IF NOT)... I apologize if I seem to be nitpicking. Killion