COPY86.CMD v1.1 (C)1998 Ken Mauro, all rights reserved. free for non-commercial use. Program : COPY86.CMD v1.0/v2.0 System : CP/M-86, CCP/M-86 for the IBM-PC family. Compiled: DRC v1.11 Author : Ken Mauro Date : Sept 1, 1998 Purpose : DOS/Unix style copy Thanks to: Kirk Lawrence for lots of CP/M-86 help and info. Also the time spent testing (and re-testing:) the package. Features: Dos/Unix style command line driven file copy with wildcard and pattern matching support. There are two versions. copy86 : 2k buffer and in-progress bytes copied indicator. copy86-2: 16k buffer with exact size copied on each line. User# and Drive support (UD:) is part of the filename. For single copy, UD: is optional or implied - see examples. For multiple copying U: or D: is required for destination only. Pressing CTRL-C to safely abort while copying is in progress. Note : On the CP/M-86 emulator, some copied files may get truncated at the last block unless they are padded out with some ctrl Z's chr(26). Im my case, adding a line of ctrl-Z's fixed the problem. This did not occur when tested on an actual CP/M-86 partition. Warning : File attributes are ignored - reading and overwriting will will occur regardless of system, read-only status etc. DO NOT interrupt by using the ctrl-break/scrl-lock key pair. Like PIP.CMD, the destination disk directory may be corrupted. if not permanently, it would at least be an inconvenience. Usage: copy UD:src UD:dest where: 'U' is the User#, 'D' is the Drive letter. 'src' is the source filespec. 'dest' is the destination filespec. Examples: copy UD:src UD:dest fully specified source and destination. copy src dest UD: for src and dest are implied. (as current) copy *.* m: UD: is implied, dest can be either U: or D: copy *.* 1: copy 15:*.cmd 2: D: is implied and a wildcard/pattern is employed. copy m:*.* error: source and destination must be specified. why? : reverse copy from specified src to an implied current dest is NOT supported at this time. copy m*.:fo:o m:*15: It is possible that strange and twisted user,drive and filename constructions could produce errors. I have not tested *every* possibility. Legal Disclaimer for: copy86.cmd, copy86-2.cmd or copy.cmd (alias) This software is free for personal, non-commercial use. By using this program and documentation, you agree to bear all responsibility for consequences resulting from that use. If you do not agree to the above, simply do not use this software. -Ken Mauro