delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/22/05:15:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.131.211
From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: tar.exe problem
Organization: Systematic Software
Message-ID: <kdhhn09tt1kmdnfljmfege8p8o7oh58b1c@4ax.com>
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>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 30
Date: Fri, 22 Oct 2004 09:00:45 GMT
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: pd7tw2no 1098435645 24.71.223.147 (Fri, 22 Oct 2004 03:00:45 MDT)
NNTP-Posting-Date: Fri, 22 Oct 2004 03:00:45 MDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 22 Oct 2004 02:48:07 GMT in comp.os.msdos.djgpp,
"one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com> wrote:


>I just calculate the total number of characters including space
>for
>"tar cvf ctree.tar \cc\toolkit\sbin\qanitest.exe 
>\cc\toolkit\demos\mechanism\chapters\startup\animatestCR.cc 
>\cc\toolkit\include\fourbar.h"
>
>it is only 138 characters. I think MSDOS supports at least 1024 
>characteres for command line.

MS DOS programs are limited to 127 bytes by the available length in
the Program Segment Prefix area; the max supported by the various MS
shell versions are: 

MS DOS command.com	 127
Windows NT cmd.exe	 256
Windows 2K cmd.exe	2046
Windows XP cmd.exe	8190

Some Unix shells keep the last command name or line in env var $_: do
any of the Windows shells do anything similar? 

-- 
Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada

Brian DOT Inglis AT CSi DOT com 	(Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
    fake address		use address above to reply

- Raw text -


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