Append.exe - Copy files in DOS with append instead of replace 26Nov00/Gary Diehl

1. The purpose of the program.
     - allow files to be copied to another directory using the same
       file names, and appending the data from the source file on to
       the end of the destination file.  This is a handy way to
       accumulate logs into larger backup files without having to
       code multi-line dos copy statements.  Supports long filenames
       and DOS/Win95/98/2000/NT.

2. If installation is required, how to install the program.
     - copy append.exe into your path, or c:\windows\command directory
       to allow usage in all batch files on your system

3. The status of the program (Public Domain, Freeware, or Shareware).
     - This program is FREEWARE, do what you will with it

4. The distribution status of the program.  Example: freely
   distributable or limitations on distribution.
     - Freely distributable to anyone

5. How to contact the author in the event of questions or problems.
   Insure author's e-mail address is included.
     - Author : Gary Diehl --> tork@flash.net

Program Usage:

append.exe <source> <destination> [/d] 

Append will copy the files of your choosing to the destination directory you
specify and append the source files on to the end of the destination files of
the same name.  This is handy for cumulative text or log files where you want
to periodically backup the data you have into a larger file.  Specify the /d
switch on the end to delete the source files after they have been appended.
For best results, enter complete directory paths for the both source and
destination.

Examples :

append c:\file1.txt d:\
-- This appends file1.txt on to the end of d:\file1.txt

append c:\*.log c:\backups\
-- This appends all files with .log extension from the c:\ to c:\backups

append c:\*.txt e:\ /d
-- This appends *.txt files from the c:\ to e:\ and deletes the c:\*.txt files.

append *.* .. /d
-- This appends every file in the current directory to the directory that is
   one subdirectory below the current and deletes the current directory files.

append "C:\Program Files\*.txt" "C:\My Documents\"
-- Note the support of long-filename directory names by the use of quotes.
   This appends text files from C:Program Files to C:\My Documents.


VERSION HISTORY :

Version 1.01  (30 Dec 00)
Fixed incorrect processing of DOS files "." and ".."
Fixed problem with delete function when destination directory was a subdirectory of source directory
Added better duplicate source & destination directory checking
Added better functionality for native DOS directories like ".\temp" that start with a "."
Thanks to Pierluigi "Zio LoneWolf" Miranda for pointing out these issues!  =)

Version 1.00  (26 Nov 00)
Initial release version.
