delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/10/18/06:30:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: tar.exe problem
Date: 18 Oct 2004 10:15:40 GMT
Lines: 37
Message-ID: <2thjecF1urnn1U1@uni-berlin.de>
References: <DvKcd.15034$nj DOT 12695 AT newssvr13 DOT news DOT prodigy DOT com>
X-Trace: news.uni-berlin.de vau15JQdD5DSMriWHGokQA9pJPEe9a9z0TZhIHU1dNz6Dl1EYEH9wYR/Fx
X-Orig-Path: not-for-mail
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 <one2001boy AT yahoo DOT com> wrote:
> running the following command:

> c:\> tar cvf ctree.tar /test/toolkit/sbin/test.exe 
> /test/toolkit/lib/test/test.ccc
> /test/toolkit/demos/test/chapters/startup/test.cc

That command line is so long that your newsclient split it into three
lines of text.  Guess what: that's a sign of trouble on the actual
command line, too.  Don't use command lines significantly longer than
your screen is wide, or you'll run into all kinds of interesting
problems.

> will get the error message:
> The system cannot execute the specified program.

Is that the actual message?  Or your own, possibly abridged
translation of it?

Anyway: it's probably a bad idea to tar these files with their complete,
absolute paths.  Try

cd \test\toolkit
tar cvf /some/where/ctree.tar sbin/text.exe lib/test/test.ccc 
  demos/test/chapters/startup/test.cc

[the last as one long line]

And is that second file actually named with *three* c's in its
extension?

Or learn how to use a response file ('info kb hid features', or check
out the FAQ).

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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