I have 50 text files in one dir.
Is there a Windows command-line method to concatenate those files into a single file?
I am using Windows Vista.
I don't want to type the name of all files.
|
I have 50 text files in one dir. Is there a Windows command-line method to concatenate those files into a single file? I am using Windows Vista. I don't want to type the name of all files. |
|||||||||||
|
that's easy to be avoided, open a command prompt in this folder and type the following command:
Press Enter Now you will have all text files in this folder merged into a single file called newfile.txt Update
why didn't you say that in your question? :) here's a tutorial that may help you to achieve your "ultimate aim": |
|||||||||||
|
|
Assuming you are talking about appending text files, copy file1+file2+file3 targetfile If you have a lot of files, you could loop by appending one file at a time. Also, if its binary files, you can add in the ' |
|||
|
|
To add a newLine at the end of each concatenated file, use
|
||||
|
|