W8SDZ@SIMTEL20.ARPA (Keith Petersen) (10/21/85)
A complete routine for doing the search-first/search-next without building a table (i.e., has NO limit on the number of file names) is included in my COPYFILE program. It's available from SIMTEL20 as: Filename Type Bytes CRC Directory MICRO:<CPM.FILCPY> CPYFIL15.LBR.1 BINARY 8576 AAECH This program will copy files of any length from one drive to another, with 16k (optionally larger) buffering. It was created for very long files (megabyte length), which are not properly handled by CP/M 2.x PIP. This version offers selective copying of files - something not available with PIP. The destination files will have NO attributes set, which is useful for copying from CP/M 2.x to 1.4 disks. COMMANDS: COPYFILE [drive:]<filename.filetype> <destination drive:>[/S] Requires the use of the /S option if transfer of files with SYS attribute is wanted. EXAMPLES: COPYFILE MYFILE.ASM B: gets MYFILE.ASM from default disk and copies to B: COPYFILE A:MYFILE.ASM B: gets MYFILE.ASM from A: and copies to B: COPYFILE B:*.* A: gets all files from B: and copies to A: All normal ambiguous file names are allowed. --Keith