Utilice el comando 'copiar' de Windows.
C:\Users\dan>help copy
Copies one or more files to another location.
COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
/D Allow the destination file to be created decrypted
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with
a non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.
/L If the source is a symbolic link, copy the link to the
target
instead of the actual file the source link points to.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.
**To append files, specify a single file for destination, but
multiple files for source (using wildcards or file1+file2+file3
format).**
Así, en su caso:
copy *.txt destination.txt
concatenará todos los archivos .txt en orden alfabético en destination.txt
Gracias por preguntar, he aprendido algo nuevo!
¿Está utilizando Windows o Linux OS? si Windows, ¿tiene instalado PowerShell? –
Si no desea que se cierre esta pregunta, será mejor que la edite para preguntar "¿Cómo puedo escribir un programa para fusionar archivos en un intervalo programado?". Podemos ayudarle fácilmente a escribir una aplicación pequeña para hacer esto (lote, secuencia de comandos vb, .net, etc.) ... pero deberá enviar su pregunta a http://superuser.com si desea alguna recomendación sobre utilizando aplicaciones de terceros para hacer el trabajo por usted. –
¿Concatena los archivos en uno que sea legible o solo para fines de archivo? Personalmente concateno una gran cantidad de imágenes JPG en un solo archivo ZIP, sin compresión, para facilitar el transporte y el almacenamiento a largo plazo. Pero debe indicar qué tipo de archivos, qué sistema operativo y proporcionar más detalles si necesita ayuda con la programación. – JYelton