Re: example of how to append all txt files in a directory into one file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I think, the best way to do that its doing the next:

1) use the "shell" method to execute a command line COPY

shell "COPY *.txt NameofyourBIGFILE.txt /A"

/B = indicates a binary copy
/A = ASCII text file copy

Good luck,

Gabriel.


<emebohw2@xxxxxxxxxxxx> wrote in message
news:1112718162.375015.326650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Can someone post an example of how I can merge (append) a list of text
> files (all in same directory) into one big text file? This would be
> easy in unix shell scripting, but I cant figure it out with vbscript.
> If it cant be done, I would take a DOS solution if someone knows how.
> -thanks!
>


.



Relevant Pages

  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... the phrase "it does not work anymore" carries very little meaning. ... after compilation and execution of the shell with a simple command like ... all the command in the file are executed as well. ...
    (comp.lang.c)
  • Re: Redirection issue
    ... 1- execute input commands from standard input, ... the phrase "it does not work anymore" carries very little meaning. ... after compilation and execution of the shell with a simple command like ... all the command in the file are executed as well. ...
    (comp.lang.c)
  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.questions)
  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.shell)
  • Re: Sleep freezing
    ... > word of a command, and each distinct command becomes a sub- ... > When it says that the arguments take the form of a standard shell ... When you execute a command from the shell is it not the ... instead of whatever commands remain in the calling script. ...
    (comp.unix.shell)