Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mddc.UUCP
Path: utzoo!linus!decvax!harpo!floyd!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!cbosgd!mddc!jordan
From: jordan@mddc.UUCP
Newsgroups: net.micro.pc
Subject: DOS 2.0 batch stuff
Message-ID: <200@mddc.UUCP>
Date: Thu, 21-Jul-83 09:11:54 EDT
Article-I.D.: mddc.200
Posted: Thu Jul 21 09:11:54 1983
Date-Received: Sun, 24-Jul-83 16:18:49 EDT
Organization: MDDC, Cincinnati, Ohio
Lines: 27

There was one thing I thought I'd mention about batch files.  It is often
nice to know whether someone has typed any paramaters or not.  Howeverm you
can't say :

	IF %1 == "" goto usage

and you can't say:

	IF %1 == goto usage

but you can say:

	IF %1foo == foo goto usage

That will evaluate true only if there is no %1 given.


_____________________________________________________________


			Jordan Bortz

		UUCP	:  ..decvax!cbosgd!mddc!jordan
		ARPA	:  ..cbosgd!mddc!jordan@berkeley.ARPA
		FLAMES	:  /dev/null on your local system