delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/04/07:54:16

Message-ID: <00a601bf85d1$babef8c0$690f3acb@1>
From: "Al" <al_ AT tpg DOT com DOT au>
To: <djgpp AT delorie DOT com>
References: <008e01bf82b1$ac2fcfa0$9d0f3acb AT 1> <Pine DOT SUN DOT 3 DOT 91 DOT 1000301120904 DOT 12637H-100000 AT is> <sd23cscio37l1qnengubmoeofn9ih1ltve AT 4ax DOT com>
Subject: Re: Too many parameters
Date: Sat, 4 Mar 2000 23:03:59 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

WOW! Thanks for your help
guys.

I'm so happy....*sniff *sniff.


----- Original Message -----
From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Sunday, March 05, 2000 10:11 AM
Subject: Re: Too many parameters


> [posted to comp.os.msdos.djgpp and mailed to the OP]
>
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> >
> > 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'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%
>
> Quotes seem to be required if there are spaces in the path:
>
> C:\>set path=c:\program files
> Too many parameters
>
> C:\>path c:\program files
> Too many parameters
>
> C:\>set path="c:\program files"
> or:
> C:\>path "c:\program files"
>
> C:\>echo %path%
> C:\PROGRA~1
>
> See how the directory is converted to its SFN equivalent.  It is
> difficult to see how spaces could get into the path in the first
> place.  Other environment variables are handled ok though, so I think
> SET PATH must be given special treatment by the shell.
>
> C:\>set test=c:\program files
>
> C:\>echo %test%
> c:\program files
>
> This is with W95, other versions are likely to be broken differently!
>
> > > 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.
>
> Maybe another application has been installed recently and this has
> added to the PATH variable, best to check autoexec.bat
>
> Al, You could also try asking this in alt.msdos.batch
>
>
> It looks like the mail gateway to the list does not propogate messages
> to the newsgroup except for posts by subscribers to the list.
>
> This makes it difficult to reply via mail to the OP, who would
> probably need a mail reply since they do not follow the group.  It
> also means that requests for help will not be seen by the group until
> someone replies (to the list) and quotes the original article.
>
> Is that a correct observation and is this the intended behaviour of
> the gateway?
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019