PDA

View Full Version : Joining .txt files


Alain
December 5th 03, 01:52 AM
Hi
I have many .txt files and I would like to make just 1 file
with all the content of the other files.
Is there a way to do this? (besides the copy/paste routine)
Thanx
Alain

David Candy
December 5th 03, 01:52 AM
Copy file1+file2 newfile

--=20
http://www.g2mil.com/Apr2003.htm
http://www.sharpword.com/fascism.htm
---------------------------------------------------------------
David Candy
http://www.mvps.org/serenitymacros
---------------------------------------------------------------
"Alain" > wrote in message =
...
> Hi
> I have many .txt files and I would like to make just 1 file=20
> with all the content of the other files.
> Is there a way to do this? (besides the copy/paste routine)
> Thanx
> Alain

Jim Macklin
December 5th 03, 01:52 AM
What software do you have on your computer and do you what
to retain the txt format?

If you have WORD (it should work with other programs?),
select all the files you want to merge, then select open,
WORD will open and merge the contents into one file. It
will be in WORD format (.doc) but you can save as txt.


"Alain" > wrote in message
...
| Hi
| I have many .txt files and I would like to make just 1
file
| with all the content of the other files.
| Is there a way to do this? (besides the copy/paste
routine)
| Thanx
| Alain

Jim Macklin
December 5th 03, 01:52 AM
Just checked this too, Start/run type cmd...then type help
copy to see procedure.
Basically just use copy file1.txt + file2.txt+....fileN.txt
newfile.txt



"Jim Macklin" > wrote
in message ...
| What software do you have on your computer and do you what
| to retain the txt format?
|
| If you have WORD (it should work with other programs?),
| select all the files you want to merge, then select open,
| WORD will open and merge the contents into one file. It
| will be in WORD format (.doc) but you can save as txt.
|
|
| "Alain" > wrote in message
| ...
| | Hi
| | I have many .txt files and I would like to make just 1
| file
| | with all the content of the other files.
| | Is there a way to do this? (besides the copy/paste
| routine)
| | Thanx
| | Alain
|
|

Jonathan
December 5th 03, 01:52 AM
You can use the command propt to do it also.
Make a new folder on the C drive called folder1.
Copy all your files to it.
Type whats in the quotes but not the quotes and follow with enter.
start -> run -> "cmd" -> "cd folder1" -> "copy *.txt new.txt" -> exit

That will copy all your text files into a file named new.txt.

Hope this helps.

Jonathan
"Alain" > wrote in message
...
> Hi
> I have many .txt files and I would like to make just 1 file
> with all the content of the other files.
> Is there a way to do this? (besides the copy/paste routine)
> Thanx
> Alain

SunSpot
December 5th 03, 01:53 AM
"Jim Macklin" > wrote in message
...
> What software do you have on your computer and do you what
> to retain the txt format?
>
> If you have WORD (it should work with other programs?),
> select all the files you want to merge, then select open,
> WORD will open and merge the contents into one file. It
> will be in WORD format (.doc) but you can save as txt.
>
>
> "Alain" > wrote in message
> ...
> | Hi
> | I have many .txt files and I would like to make just 1
> file
> | with all the content of the other files.
> | Is there a way to do this? (besides the copy/paste
> routine)
> | Thanx
> | Alain
>

Jim. I just tried this and all it did was open each one in a seperate
window. How did you get it to open them up as one?

>

nevermore
December 5th 03, 01:53 AM
Jim, whenever I select multiple Word files and then open, they all open as
separate documents whether I do the multiple selection with or without Word
running. Interested in how you get them to open as one document?
"Jim Macklin" > wrote in message
...
> What software do you have on your computer and do you what
> to retain the txt format?
>
> If you have WORD (it should work with other programs?),
> select all the files you want to merge, then select open,
> WORD will open and merge the contents into one file. It
> will be in WORD format (.doc) but you can save as txt.
>
>
> "Alain" > wrote in message
> ...
> | Hi
> | I have many .txt files and I would like to make just 1
> file
> | with all the content of the other files.
> | Is there a way to do this? (besides the copy/paste
> routine)
> | Thanx
> | Alain
>
>

Alain
December 5th 03, 01:55 AM
Hi
This worked for me
Thanx a lot! for everybody who replied.
Alain

>-----Original Message-----
>You can use the command propt to do it also.
>Make a new folder on the C drive called folder1.
>Copy all your files to it.
>Type whats in the quotes but not the quotes and follow
with enter.
>start -> run -> "cmd" -> "cd folder1" -> "copy *.txt new.
txt" -> exit
>
>That will copy all your text files into a file named new.
txt.
>
>Hope this helps.
>
>Jonathan
>"Alain" > wrote in message
...
>> Hi
>> I have many .txt files and I would like to make just 1
file
>> with all the content of the other files.
>> Is there a way to do this? (besides the copy/paste
routine)
>> Thanx
>> Alain
>
>
>.
>

Google