1.

Solve : Merging files?

Answer»

Hi,

Is it possible to do the following things :

I'd like merge from a directory the CONTENT of all file with same EXTENSION (e.g .txt) in an output file but I would like also merge the file name with the content of file on the same line.

e.g:

file 1 : file1.txt (content : 'Content of file 1')
file 2 : file2.txt (content : 'Content of file 2')
file .....

and the output file need to be like this

output file.txt :
file1Content of file 1
file2Content of file 2
file.......

Thanks for your help

Mio66
SURE, it's possible, but DOUBT if it can be ACHIEVED with scripting. Sounds more like a job for a self written prog!copy con may be doneCopy con?? Example please



Discussion

No Comment Found