Oct 18, 2008
Hello --- I always have some very of unix cmd installed on my system. ie mks or cygwin to get access to the "cat" command --- which I would
use to concatenate file content --- is there an tcc command that would do the same thing? Thanks
Oct 18, 2008
Thanks -- would that work with multiple files just conning the input file with + signs?
Dec 7, 2009
Left Coast, USA
I have been able to do this with minimal typing when I've had files in a sequence — for example, when someone has split a large file.




and so forth. I know the output is supposed to be, say, a .zip file, and the following has always worked well:

copy /b filename.0??

First I use the copy command's "/n" (for "no action — display what WILL happen") switch.

copy /n /b filename.0??

I watch for what will happen when I run the command without "/n". If all looks ok I go for it.

Obviously that simple a command line won't do the job if the files aren't named sequentially. Then you'll need to use "+" as shown in the other reply.


Scott Mintz
May 20, 2008
Solon, OH, USA
The plus signs are optional. The COPY command will concatenate all the files up to the last one.
copy /b file1 file2 file3 file4 file5
That will create file5 as the concatenation of files 1-4. The /b switch forces binary mode. Although I don't know that it matters any more. I think TCC defaults to binary copying.


Scott Mintz
May 20, 2008
Solon, OH, USA
Semi-related to that, you can copy multiple files to a destination directory by separating the files with semicolons.
copy c:\dir1\dir2\dir3\dir4\file1;file2;file3;file4 C:\dir5\
Similar threads
Thread starter Title Forum Replies Date
C Copy (sys) error Support 3
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
vefatica Copy/Paste anomaly Support 4
D Documentation Typo in COPY help Support 0
samintz COPY fails to copy from \\wsl$ Support 20
D Differences between TCC and CMD with COPY /b Support 4
fpefpe copy /u and timestamps Support 4
M Strange error messages from TCC in FTP copy Support 7
G TCMD crash when copy Support 3
Alpengreis How to? Copy DIRs with attributes ... Support 4
E Text copy bug Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
K copy /w slow relative to robocopy /mir Support 0
Jay Sage Problem with Context Menu Copy+Paste+Run Key Assignment Support 7
K "copy /z /w" command not deleting read-only files in destination Support 10
K copy changing destination current directory Support 1
D Keystroke to copy previous argument Support 3
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
RChrismon How to? Copy TCMD.INI to New Version Support 7
R How to? Append files in multiple subfolders using copy? Support 8
Dick Johnson COPY /u (?) Support 9
fpefpe Documentation copy /u Support 7
R How to? copy /q ABC.txt + DEF.txt is appending hex 1A Support 8
D copy /g only shows transfer rate Support 1
J Error "Contents lost before copy" Support 3
B Can copy command concatenate multiple mp3 files Support 2
rps Documentation "Copy+Paste+run" question Support 2
kb6ojs Make /G parameter persistent in COPY/MOVE command? Support 4
fpefpe How to? copy / exclude Support 2
fpefpe robocopy -- copy /w Support 8
C copy /w /p prompts for deletion, but ... Support 3
D Fixed Copy Support 1
fpefpe Documentation copy/move using /c or /u Support 2
samintz WAD Copy/append adds a character Support 3
P Simple RegEx copy Support 9
fromano Fixed COPY ... TO ... crashing Support 3
Alpengreis How to? Copy & Paste without linebreak within TCMD Support 13
D COPY returns ERRORLEVEL 2 Support 5
mdwyer TCC 13 COPY: specified network name is no longer available. Support 5
CWBillow Copy a tree Support 17
J junction copy/move handling Support 6
vefatica Fixed COPY /S ftp://... Support 1
C WAD copy /u ftp local with Timeout? Support 5
D How to? Unregister a copy of Take command Support 1
vefatica FTP copy interrupted Support 2
C How to? COPY ftp folder query Support 7
R How to? TCC 16.03: copy a file to the clipboard? Support 10
jadaml Documentation Is COPY realy doesn't work for any HTTP and FTP? Support 3
T TCC control-C copy operation Support 3
Jay Sage Ctrl-C Not Working Reliably to Copy Screen Content Support 4

Similar threads