FILE CONCATENATION UTILITY (Version 1.1 April 24th, 1992) ************************************************************* * * * This version corrects a bug: you can now create a * * NEW target file as well as overwrite an existing * * one. Sorry about our oversight! * * * * This version also displays more informative * * screen messages. So it should be easier to use! * * * ************************************************************* NAME: COPYAPP DESCRIPTION: COPYAPP lets you concatentate copies of specified files into one file in an existing directory. There are NO limits to the number of files which can be concatenated, the size of those files, or the size of the resulting file. You can use wildcards to identify groups of files from various directories. This lets you pull together similar types of files from many locations on your hard drive. For example, you could bring several sections of a manual which are stored in separate files together in one file. You could then print the entire manual just by printing that file. FORMAT: COPYAPP [\Spath1\]Sfn1.Sfx1...[\Spathn\]Sfnn.Sfxn [\Tpath\]Tfn.Tfx Where... \Spath1\ [optional] is the complete PATH of the first source file to be concatenated Sfn1.Sfx1 is the FILENAME and EXTENSION of the first source file to be concatenated \Spathn\ [optional] is the complete PATH of each additional source file to be concatenated Sfnn.Sfxn is the FILENAME and EXTENSION of each additional source file to be concatenated \Tpath\ [optional] is the complete PATH of the target concatenation file to be created Tfn.Tfx is the FILENAME and EXTENSION of the target concatenation file to be created NOTES: One or more spaces should separate COPYAPP, each source file description, and target file description. If no path is given for a source file, COPYAPP will search for it only in the current directory. If \*\ is the path given for a source file, COPYAPP will search for it in all directories on the current drive. ALL copies of the source file which are found will be concatenated in the target file. If no path is given for the target concatenation file, it will be placed in the current directory. If the target file already exists, you will be asked whether the existing file should be overwritten by the new one. If you respond NO, your COPYAPP statement reappears so you can specify a different target file. If you use improper syntax or specify directories that do not exist, COPYAPP will not execute!!! This SCREEN MESSAGE displays while COPYAPP executes: AAAAAAAAAA... Files copied 99999 Bytes copied 99999 AAAAAAAAAA is "Searching" when COPYAPP is looking for a source file, and "Copying" when COPYAPP is copying a source file into the target file. The two numbers (99999) are continually updated. This lets you see how many files have been concatenated and their total bytes (ie, the size of the target file). EXAMPLES (1) COPYAPP SOURCE1.DOC SOURCE2.DOC SOURCE3.DOC TARGET.DOC This searches the current directory for the three source files listed and concatenates whichever ones it finds into file TARGET.DOC in the current directory. (2) COPYAPP DIR1\*.TXT TARGET.TXT This searches the DIR1 directory for all files with an extension of TXT and concatenates them into file TARGET.TXT in the current directory. (3) COPYAPP \*\PRINT.* \PRINTDIR\NEWFILE.PRT This searches all directories for all files named PRINT and concatenates them into file NEWFILE.PRT in the PRINTDIR directory.