🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5616

Re: null as variable in batch file

#5616
From: Michael A. Shiels
Date: Thu, 13 Feb 1986 13:35
11 lines
890 bytes

I have found that this technique does not work sometimes (i don't know why only
sometimes), but PC/DOS 3.1 seems to match only the significant portion 
of the paramaters.

A better method is to use the following

       IF %1x==x then goto missing_parameter

Hope this works.
Technical Details
Message-ID: <365@watdragon.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdragon!mshiels
References: <1088@decwrl.DEC.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site watdragon.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!watnot!watdragon!mshiels
From: mshiels@watdragon.UUCP (Michael A. Shiels)
Newsgroups: net.micro.pc
Subject: Re: null as variable in batch file
Message-ID: <365@watdragon.UUCP>
Date: Thu, 13-Feb-86 08:35:47 EST
Article-I.D.: watdrago.365
Posted: Thu Feb 13 08:35:47 1986
Date-Received: Fri, 14-Feb-86 03:14:00 EST
References: <1088@decwrl.DEC.COM>
Reply-To: mshiels@watdragon.UUCP (Michael A. Shiels)
Organization: U of Waterloo, Ontario
Lines: 11