PDA

View Full Version : Very easy to make...TXT file amalgamator...anyone want this project??


teddyFBI
12-03-2005, 01:20 AM
I'd like a very quick utility that would amalgamate the text content of several notepad/txt files.

The reason is simple: PT has a limit of around 40 TXT files that you can tell it to import at once...I often want to import many, many more...so it would be great if I could somehow dump 200 TXT files into some sort of utility that would take them and spit out a single txt file.

Any tips would be very much appreciated...there might even be a way for me to do this with a simple macro I could create...but i don't know how.

teddyFBI
12-03-2005, 01:30 AM
No need for help anymore. i found a free util online that does just this.

http://www.snapfiles.com/get/txtcollector.html

awr000
12-03-2005, 01:33 AM
put them in a directory and import the directory with the lightning bolt.

SheridanCat
12-03-2005, 01:56 AM
If using windows/dos, from a console prompt:

c:\>copy file1.txt + file2.txt + file3.txt newfile.txt

I'm sure you can do nearly the same thing with Linux, etc.

Regards,

T

CORed
12-03-2005, 11:48 PM
C:\Documents and Settings\CORed>help copy
Copies one or more files to another location.

COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]

source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
/D Allow the destination file to be created decrypted
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with
non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.

To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).

CORed
12-03-2005, 11:52 PM
[ QUOTE ]
If using windows/dos, from a console prompt:

c:\>copy file1.txt + file2.txt + file3.txt newfile.txt

I'm sure you can do nearly the same thing with Linux, etc.

Regards,

T

[/ QUOTE ]

Yes you can: cat file_1 file_2[....file_n] > bigfile