Message-ID: <00a601bf85d1$babef8c0$690f3acb@1> From: "Al" To: References: <008e01bf82b1$ac2fcfa0$9d0f3acb AT 1> Subject: Re: Too many parameters Date: Sat, 4 Mar 2000 23:03:59 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 Newsgroups: comp.os.msdos.djgpp To: 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 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? >