X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <417B7AF9.8DD0F530@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: tar.exe problem References: <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> <01c4b8f7$Blat.v2.2.2$96d08f60 AT zahav DOT net DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 48 Date: Sun, 24 Oct 2004 10:29:53 GMT NNTP-Posting-Host: 12.76.141.129 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1098613793 12.76.141.129 (Sun, 24 Oct 2004 10:29:53 GMT) NNTP-Posting-Date: Sun, 24 Oct 2004 10:29:53 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "one2001boy AT yahoo DOT com" wrote: > Eli Zaretskii wrote: >>> "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. :-) -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!