delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/13/10:50:15

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Another tip of the week
Date: Mon, 08 Sep 1997 23:22:53 +0200
Organization: -
Lines: 25
Message-ID: <34155511.8396547@news.uni-duisburg.de>
References: <340f513f DOT 3518001 AT snews DOT zippo DOT com>
NNTP-Posting-Host: ppp51.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 05 Sep 1997 00:32:18 GMT, pjfarley AT dorsai DOT org (Peter J. Farley
III) wrote:

> In CONFIG.SYS, you can expand the DOS commandline length to 255 bytes
> by using the following parameter to command.com:
> 
> shell=c:\windows\command.com /u:255

Thank you for this tip. When you type command /?, at least the german
command.com says that you need /p also, if you use /u. I never figured
out that they meant "length of the commandline" when they say "length of
the input buffer" (re-translated from german). There's also a switch /L
where they say "length of the internal buffer (need to use /P also)
(nnnn in the range from 128 to 1024)". Do you also know what that means?
 
The /u switch works on my machine only for batch files called by other
batch files. The input buffer of the commandline is still limited to
about 126 characters. Anyway, we rarely need to type in such long
commandlines for throw-away use. But DJGPP programs don't see the long
commandline, either. Or did I do something wrong and it works on your
machines?

Regards...
		Michael

- Raw text -


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