delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/24/19:00:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: tar.exe problem
References: <DvKcd.15034$nj DOT 12695 AT newssvr13 DOT news DOT prodigy DOT com> <2thjecF1urnn1U1 AT uni-berlin DOT de> <48Fdd.16708$nj DOT 14914 AT newssvr13 DOT news DOT prodigy DOT com> <01c4b72d$Blat.v2.2.2$08f4f8a0 AT zahav DOT net DOT il> <Hx_dd.8697$6q2 DOT 4445 AT newssvr14 DOT news DOT prodigy DOT com> <01c4b8f7$Blat.v2.2.2$96d08f60 AT zahav DOT net DOT il> <BuIed.9409$6q2 DOT 3246 AT newssvr14 DOT news DOT prodigy DOT com> <417B7AF9 DOT 8DD0F530 AT yahoo DOT com>
In-Reply-To: <417B7AF9.8DD0F530@yahoo.com>
Lines: 54
Message-ID: <2oWed.34260$QJ3.20251@newssvr21.news.prodigy.com>
NNTP-Posting-Host: 69.104.56.233
X-Complaints-To: abuse AT prodigy DOT net
X-Trace: newssvr21.news.prodigy.com 1098658430 ST000 69.104.56.233 (Sun, 24 Oct 2004 18:53:50 EDT)
NNTP-Posting-Date: Sun, 24 Oct 2004 18:53:50 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSYQN_ AT O@RUB^DY_P^TJFXBWR\HPCTL AT XT^OBPLAH[\RWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C AT E[A_CF\AQLDQ\BTMPLDFNVUQ_VM
Date: Sun, 24 Oct 2004 22:53:50 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

CBFalconer wrote:
> "one2001boy AT yahoo DOT com" wrote:
> 
>>Eli Zaretskii wrote:
>>
>>>>"one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com>
>>>
> ... snip ...
> 
>>>>it is only 138 characters. I think MSDOS supports at least 1024
>>>>characteres for command line.
>>>
>>>No, the maximum command-line length that Windows can give to a DOS
>>>program is 126.  So this last command is too long.
>>
>>Based on brian's input, here is the command line size allowed in
>>Windows.
>>
>>MS DOS command.com       127
>>Windows NT cmd.exe       256
>>Windows 2K cmd.exe      2046
>>Windows XP cmd.exe      8190
>>
>>I use Windows XP, not sure why it still limits to 126 for tar.exe?
>>
>>
>>>DJ Delorie suggested to use the Make utility to have up to 14KB
>>>long command lines.  Someone else, I think it was Hans-Bernhard,
>>>suggested to use the response file facility (see section 16.4 of
>>>the DJGPP FAQ list for details).  These are two ways to work
>>>around the 126-character limitation.
>>
>>Thanks. Just think if will be more nice if it can work out without
>>using those utilities.
> 
> 
> Get it permanently out of the way by installing 4dos, now available
> free at jpsoft.com.  The command line limit will then be 511.  You
> might decide to use 4NT and pay for it, if you so choose.
> 
> You will no longer have the complete command tail available at 80
> in the PSP, but very few systems use this anyhow.  If you really
> need the whole line you can find it in the environment under
> "CMDLINE" and there may even be a pointer to it in the PSP
> somewhere.  I doubt you are using the pre-parsed partial FCBs at 5c
> and 6c either. :-)
> 

Thanks for your suggestion.

does 4dos support tar.exe compiled from djgpp? It seems to me that the 
problem for tar.exe might not be related to shell.
cmd.exe supports more than 256 characters at least, but tar.exe still 
cannot run sucessfully.

- Raw text -


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