Open the folder in which the text files are saved.
Start by opening the This PC or Computer directory in the right panel, and then browse to the folder where you have saved your files. Once you open the folder, you should see your text files in the right panel.
Right-click a blank area of the right panel. A context menu will expand.
Click Open command window here. This opens a command prompt window that is already set to the current directory.
Type copy *.txt newfile.txt
at the prompt. Replace newfile.txt with the name of the file you want to create (e.g., mergedfiles.txt).
Press Enter to join the files. This creates a new file with containing the contents of all text files in the current folder
LEAVE A COMMENT