COMBINE.EXE
COMBINE.EXE is a free Windows command line program that combines two or more files into a single file.
Where target is the name of the new file to be created, and file1, file2, etc. are the "source files" containing the data that is to be combined into the new file.
Switches:
This creates a file in the current working directory named "foo.txt". Its contents will be the combined contents of three files: 1.txt, 2.txt, and 3.txt.
Usage
COMBINE [/a] [/fl] [/lb] [/nolist] [/nologo] [/nosum] [/s] target file1 file2 ...
Where target is the name of the new file to be created, and file1, file2, etc. are the "source files" containing the data that is to be combined into the new file.
Switches:
/a | Do not overwrite the existing contents of the target file. Instead, append to the end of the target file. |
/fl | The source file is a list of other source files. It can contain one or more filepaths of source files, separated by line breaks or semi-colons. This file can be ASCII, unicode, or UTF-8 (provided that the unicode or UTF-8 byte order mark is present). |
/lb | Before a source file is added to the target file, a line-break will be added to the end of the target file if one is not already present. |
/nolist | Do not list each file. |
/nologo | Do not display the program banner. |
/nosum | Do not display the operation summary. |
/s | Recursively enter subfolders. |
Notes
- The ? and * wildcard characters are permitted.
- If no path to the target file is specified, the target file is created in the current working directory.
- Any filename that contains spaces should be enclosed in quotes.
- You may press Escape to abort the operation.
- Filenames containing unicode characters are supported.
Example
combine foo.txt 1.txt 2.txt 3.txt
This creates a file in the current working directory named "foo.txt". Its contents will be the combined contents of three files: 1.txt, 2.txt, and 3.txt.
Sample Output
Combine 3.1 - File Combining Utility - www.Gammadyne.com
Copyright (C) 2004-2019 by Greg Wittmeyer - All Rights Reserved
1.txt: ok
2.txt: ok
3.txt: ok
Combined 3 files (126 bytes)
Download
Click the button below to download version 3.1 of COMBINE.EXE, released October 13th, 2019.