I've tried writing a macro to copy text from one document to another but macros do not seem to work across documents. I'm looking for a way to concatenate all open documents into one new document.
thanks
how to concatenate all open files into one new document?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: how to concatenate all open files into one new document?
I realize that this won't do it in Textpad, but you can concatenate several files just by using the COPY command in a DOS window. It even accepts wildcards.Lawrence wrote:I'm looking for a way to concatenate all open documents into one new document.
thanks
Copies one or more files to another location.
COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination
[/A | /B]] [/V] [/N]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
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 a
non-8dot3 name.
/Z Copies networked files in restartable mode.
To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).