Date: Wed, 1 Mar 2000 12:09:46 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Al cc: djgpp AT delorie DOT com Subject: Re: Too many parameters In-Reply-To: <008e01bf82b1$ac2fcfa0$9d0f3acb@1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 29 Feb 2000, Al wrote: > I've had DJGPP installed on my machine for some time now, and just > recently I've been getting this message "Too many parameters" when the = > batch file is executed. > > I have a shortcut on my desktop, that loads COMMAND.COM, and then = > MEM.BAT. > The contents of MEM.BAT are as follows: > > @ECHO OFF > CLS. > ECHO. > CD DJGPP > SUBST Z: C:\ > SUBST Y: C:\ > SET DJGPP=Z:\DJGPP\DJGPP.ENV > SET PATH=Z:\DJGPP\BIN;%PATH% > setdjgpp c:\djgpp c:/djgpp > > This used to work. > When I rem the line "SET PATH=Z:\DJGPP\BIN;%PATH%" I don't get the = > message. I'm guessing that the value of PATH before the batch file is called includes some directory with embedded blanks. This makes the SET command choke, because it doesn't expect more than a single parameter after the equals sign. One way to solve this is to replace the directory with the blanks with its short 8+3 alias. As another solution, try using the PATH command: PATH Z:\DJGPP\BIN;%PATH% > I have also not modified DJGPP, or any of the contents of the DIR and = > SUBs. If my guess is right, this has nothing to do with DJGPP.