X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "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: <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> In-Reply-To: <01c4b72d$Blat.v2.2.2$08f4f8a0@zahav.net.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 74 Message-ID: NNTP-Posting-Host: 69.110.163.208 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr14.news.prodigy.com 1098413287 ST000 69.110.163.208 (Thu, 21 Oct 2004 22:48:07 EDT) NNTP-Posting-Date: Thu, 21 Oct 2004 22:48:07 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: TSU[@I_A\S AT SSWH[MJ_HJZUDFZ\@@FXLM AT TDOCQDJ@_ AT FNHCYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ AT BQ[@CDQDPCL^FKCBIPC AT KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI AT AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Date: Fri, 22 Oct 2004 02:48:07 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >>From: "one2001boy AT yahoo DOT com" >>Date: Thu, 21 Oct 2004 02:27:12 GMT >> >>Even if I convert the above command into test.bat file and run it, >>I still get the same error. > > > Using a batch file does not change the command-line length limitations > in any way. > > >>Maybe it is a bad idea. But it just indicates that tar.exe has >>the problem. > > > Sorry, I still don't understand what ``the problem'' is. Could you > please post a command line that causes that problem, together with the > error message, and make sure that both the command line and the > message is posted _exactly_ as they look on the screen, without extra > newlines and wrapping? Please use actual file names that exist on > your systems, and please show us the listing of the directory or > directories in which those files reside. > > Finally, please make sure you have only one tar.exe on your PATH, and > the one that is being invoked is, in fact, a DJGPP port of Tar. Yes, tar.exe is from DJGPP port. I tried to tar two files, qanitest.exe and animatestCR.cc, it is successful. C:\>tar cvf ctree.tar \cc\toolkit\sbin\qanitest.exe \cc\toolkit\demos\mechanism\chapters\startup\animatestCR.cc tar: Removing leading `/' from absolute path names in the archive cc/toolkit/sbin/qanitest.exe cc/toolkit/demos/mechanism/chapters/startup/animatestCR.cc C:\> Then, I added one more file to tar. It gets the error message. "The system cannot execute the specified program." C:\>tar cvf ctree.tar \cc\toolkit\sbin\qanitest.exe \cc\toolkit\demos\mechanism\chapters\startup\animatestCR.cc \cc\toolkit\include\fourbar.h The system cannot execute the specified program. C:\> The new file added file fourbar.h does exist. C:\>dir \cc\toolkit\include\fourbar.h Volume in drive C is PRESARIO Volume Serial Number is E0F3-1DD3 Directory of C:\cc\toolkit\include 09/09/2004 08:57 PM 6,539 fourbar.h 1 File(s) 6,539 bytes 0 Dir(s) 12,949,270,528 bytes free C:\> 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.