in reply to Combining files

Why do you want to do this? Will you ever want to separate them?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)

Replies are listed 'Best First'.
Re^2: Combining files
by desemondo (Hermit) on Oct 03, 2009 at 05:23 UTC
    Not sure what Win's task is, but in my case, Due to a system upgrade at work, our log files got cut twice a day instead of once.
    Using the appending feature of copy was literally a 2 second fix to make the report look the same...

      Which is great if the only files in the directory are the two halves of the log file. But I'd still use

      copy log1+log2 log

      The thing that has me intrigued is Wins

      combine all files in a folder, stacked one on top of another in a single file?

      Especially if there is any possibility of any binary files in that folder.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.