• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

concatenate files...

P

Paul H

Flightless Bird
Back in DOS days I could concatenate text files without using a third party
tool. Can I do this with XP, Vista, or W7? TIA, Paul
 
T

Tim Slattery

Flightless Bird
"Paul H" <NoSpamphobergNoSpam@att.net> wrote:

>Back in DOS days I could concatenate text files without using a third party
>tool. Can I do this with XP, Vista, or W7? TIA, Paul


Yes, the same way you did before:

copy file1.txt + file2.txt fileboth.txt

Type

copy /?

at a command prompt to find out all about the copy command.

--
Tim Slattery
Slattery_T@bls.gov
http://members.cox.net/slatteryt
 
J

John John - MVP

Flightless Bird
Paul H wrote:
> Back in DOS days I could concatenate text files without using a third
> party tool. Can I do this with XP, Vista, or W7? TIA, Paul


At the Command Prompt with the Copy command:

copy file1+file2+file3 newfile.txt

John
 
P

Pegasus [MVP]

Flightless Bird
"John John - MVP" <audetweld@nbnet.nb.ca> wrote in message
news:eNeK56m1KHA.348@TK2MSFTNGP02.phx.gbl...
> Paul H wrote:
>> Back in DOS days I could concatenate text files without using a third
>> party tool. Can I do this with XP, Vista, or W7? TIA, Paul

>
> At the Command Prompt with the Copy command:
>
> copy file1+file2+file3 newfile.txt
>
> John


This works fine for text file (as your example suggests) but for binary
files the /b switch is required:

copy /b file1+file2+file3 newfile.bin
 
Top