Thank you Felipe.

I can try to do this via FindFile/FindNext.

One new question: Which is the maximum length of TAR command line I can pass to TProcess.Execute? Suppose a directory with thousands of files... Or even, more than 100 files...

How is being your new life in Germany???

[ ]

Ricardo
At 16:41 7/2/2007, you wrote:
Why the TAR command ran OK in console and didn't run OK via TProcess.Execute?

Because the *.* is resolved by BASH, and not by TAR

So tar does not see *.*

It sees (on the first command), what bash transforms that into

You need to use code to do what bash does, which is expand *.* into
all the files of the directory.

--
Felipe Monteiro de Carvalho

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to