You can use the COPY command to copy files in several ways:

You can copy individual files from one disk to another

You can copy a group of files at once using wildcard characters

You can copy one or more files and give them new names

You can combine or merge files into one file.

To use the COPY command, type COPY at the command prompt, followed by the drive designators and necessary filenames. Then press Enter to execute the command.

For example, to copy the file named REPORT from the diskette in drive A to the hard disk using the same name for the copy as for the original file, type the following and press

Enter:

COPY A:REPORT C:

You now have two files named REPORT, one on the diskette in drive A and one on the hard disk, drive C.

If you want to copy the file named REPORT from the diskette in drive A to drive C using a new name, FACTS, for the copy, type the following and press Enter:

COPY A:REPORT C:FACTS

The file REPORT remains unchanged on drive A, but a new file named FACTS now exists on drive C.

To copy the file named REPORT to the same diskette and name the copy FACTS, type the following and press Enter:

COPY REPORT FACTS

Using MS-DOS With Your Computer 4-11