How do I put a whole bunch of little files into one big one?

How do I put a whole bunch of little files into one big one?

Post by Zach Bagna » Thu, 28 Mar 1996 04:00:00



Hi,

I have many small text files (ie ~10k) that I want to turn into
one big file. Is there a dos or windows command/file which
will do this for me?

Zach.
--
-------------------------------------------
"the persistence of that ketchup of the bass
world, slapping -"    -  Anthony Jackson

 
 
 

How do I put a whole bunch of little files into one big one?

Post by Bob Kniefe » Thu, 28 Mar 1996 04:00:00



> Hi,

> I have many small text files (ie ~10k) that I want to turn into
> one big file. Is there a dos or windows command/file which
> will do this for me?

> Zach.
> --

"Copy sourcefile.no1+sourcefile.no2+sourcefile.no3 targetfile" Also known as
"copy append"

Bob

 
 
 

How do I put a whole bunch of little files into one big one?

Post by Michael J. Shephe » Thu, 28 Mar 1996 04:00:00



Quote:>Hi,

>I have many small text files (ie ~10k) that I want to turn into
>one big file. Is there a dos or windows command/file which
>will do this for me?

Simple.  If all the text files have the same extension (.txt) then type,

copy *.txt filename.ext

where filename.ext is the file you wish to create.  I suggest you don't
use .txt for the new filename, else you'll get an infinite loop as DOS
copies the file into itself.

Hope this helps

--
Mike Shepherd (aka:  the Sheepster)
If you're ever in trouble on the water, the first thing you'll
see is a bunch of maniacs in a * boat, comin' for to carry
you home.

 
 
 

How do I put a whole bunch of little files into one big one?

Post by j marti » Thu, 28 Mar 1996 04:00:00




> > Hi,

> > I have many small text files (ie ~10k) that I want to turn into

> > one big file. Is there a dos or windows command/file which

> > will do this for me?

> > Zach.

> > --

> "Copy sourcefile.no1+sourcefile.no2+sourcefile.no3 targetfile" Also known as

> "copy append"

> Bob

        Also, to append multiple files, try a "for, in loop".

                for %x in (*.TXT) do type %x >> alltext.tmp

        Hope it helps,

                J.

 
 
 

How do I put a whole bunch of little files into one big one?

Post by Rick Bus » Fri, 29 Mar 1996 04:00:00



>Hi,
>I have many small text files (ie ~10k) that I want to turn into
>one big file. Is there a dos or windows command/file which
>will do this for me?
>Zach.

The format is this:

copy litfil1.txt + litfil2.txt + litfil3.txt bigfile.txt

If you don't name a file for it to be called (bigfile.txt in the above
example), it will be titled with the first file you used after "Copy".
In other words, if you left out "bigfile.txt" as the name of the new
combined file, it would be called litfil1.txt, and would contain all
the files you combined.

>-------------------------------------------
>"the persistence of that ketchup of the bass
>world, slapping -"    -  Anthony Jackson


 
 
 

How do I put a whole bunch of little files into one big one?

Post by Karel Bruikm » Fri, 29 Mar 1996 04:00:00



>  Hi,

>  I have many small text files (ie ~10k) that I want to turn into
>  one big file. Is there a dos or windows command/file which
>  will do this for me?

Why don't you use PKZIP or WINZIP?? Disadvantage is that the file will
not be simply readeble.

Cheers Karel

 
 
 

How do I put a whole bunch of little files into one big one?

Post by f » Fri, 29 Mar 1996 04:00:00




>>  Hi,

>>  I have many small text files (ie ~10k) that I want to turn into
>>  one big file. Is there a dos or windows command/file which
>>  will do this for me?
>Why don't you use PKZIP or WINZIP?? Disadvantage is that the file will
>not be simply readeble.

i think you've missed the point, the guy wants to concatenate
the files, NOT compress them.
--                    !                                                      
fm                 __o                                        team OS/2 canada
                 _`\<,_                                                      
                (*)/ (*)                                                      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\                          /~~~~~~~~~~~~~~~~~~~~
                               \                        /                    
                                ~~~~\             /~~~~~                      
                                     \        /~~~                            
        those who hate the most                         love life the least
 
 
 

How do I put a whole bunch of little files into one big one?

Post by Colin Morris » Fri, 29 Mar 1996 04:00:00




>>  Hi,

>>  I have many small text files (ie ~10k) that I want to turn into
>>  one big file. Is there a dos or windows command/file which
>>  will do this for me?

>Why don't you use PKZIP or WINZIP?? Disadvantage is that the file will
>not be simply readeble.

>Cheers Karel

Why won't it? WinZip has a built-in reader...
To the original poster: don't forget if the text file becomes too
large you won't be able to view it with the ordinary Windows notepad.
 
 
 

How do I put a whole bunch of little files into one big one?

Post by Kirshn » Fri, 29 Mar 1996 04:00:00




> > I have many small text files (ie ~10k) that I want to turn into
> > one big file. Is there a dos or windows command/file which
> > will do this for me?

> > --
> "Copy sourcefile.no1+sourcefile.no2+sourcefile.no3 targetfile" Also known as
> "copy append"

This is absolutely correct, but very tedious for 10,000 files.  Might I
suggest that you create a TEMP directory, and MOVE all the files there
(or move out any in the current directory that aren't to be included -
whichever is easier).  Use DOS wildcard characters in specifyin the
files wherever possible.  Check the listing of the directory to make
sure you have the right files and then the following will do the copy
with one command ...

  COPY *.* TARGET > nul

Tom Lavedas  -  Contributing Editor
-----------------------------------
PCsense: The Personal Computing E-Zine(TM); http://www.pcsense.com/PCSense/
My views are my own and do not express those of MacSense Communications.

 
 
 

How do I put a whole bunch of little files into one big one?

Post by Bob Gro » Sun, 31 Mar 1996 04:00:00




>>  Hi,

>>  I have many small text files (ie ~10k) that I want to turn into
>>  one big file. Is there a dos or windows command/file which
>>  will do this for me?

Get Clipmate and Editeur. (Clipmt31.zip and editeu22.zip) Clipmate is
a clipboard extender that will allow you to put each small file
sequentially into the clipboard and then paste them up together into
one file.  A very handy tool for lots of tasks.

Editeur has an "append" to clipboard button on the toolbar.  Each text
file opened and selected can be accumulated into one text file.  

Two of my most favorite programs.

Yours,

Bob Grody
Vendor Relations Chairman
Centrastate Computer Users Group
Freehold, NJ
http://www.*com.com/~intutor/ccug.html

 
 
 

How do I put a whole bunch of little files into one big one?

Post by Jason Sclate » Mon, 08 Apr 1996 05:00:00





>> > I have many small text files (ie ~10k) that I want to turn into
>> > one big file. Is there a dos or windows command/file which
>> > will do this for me?

>> > --
>> "Copy sourcefile.no1+sourcefile.no2+sourcefile.no3 targetfile" Also known as
>> "copy append"

>This is absolutely correct, but very tedious for 10,000 files.  Might I
>suggest that you create a TEMP directory, and MOVE all the files there
>(or move out any in the current directory that aren't to be included -
>whichever is easier).  Use DOS wildcard characters in specifyin the
>files wherever possible.  Check the listing of the directory to make
>sure you have the right files and then the following will do the copy
>with one command ...

>  COPY *.* TARGET > nul

>Tom Lavedas  -  Contributing Editor
>-----------------------------------
>PCsense: The Personal Computing E-Zine(TM); http://www.pcsense.com/PCSense/
>My views are my own and do not express those of MacSense Communications.

You might also try something along the lines of

   for %f in (c:\dir1\small.* c:\dir2\small.*) do type %f >> c:\large

since they are text files. Maybe

   for %f in (c:\d1\small.* c:\small.*) do copy /b %f con >> c:\large

or even

   copy /b small.* c:\large

if they are not just text files and/or are in different directories.

Jason Sclater

 
 
 

1. In Power Point how to show several files one after one as a big one

In Power Point, how to show several files (presentation) one after one
as a big one.

And if possible, in loop :
Read 1st File
Show it
Read 2nd File
Show it
....
Read last File
Show it

ReRead 1st File
Show it
....
etc..

and all of this automaticly.

Thanks,

CU
 Yo

-----------
Tony MASSE


1ere annee d'IUT Services et Reseaux de Communication
-----------

2. reinstall media player in xp

3. How do you make small Mpegs into one Big one?

4. No sound on WMV files.

5. Putting emails from one computer to the other one

6. CHKDSK /F

7. ADVICE NEEDED: One big HD or two smaller ones?

8. Shock director 3.1?

9. Is there a way to merge multiple .asf files into one big .asf file?

10. How-To: Merging several RealMedia files into a big one .rm file

11. LPT1 aint got one, cant make one,cant find one

12. configuate two harddrives, one cd-rom, one dvd-rom in one computer

13. Media player read the whole file into RAM first