For example, to copy all the files on the diskette in drive A to the diskette in drive B, type the following and press Enter:

C O P Y A : * . * B :

To copy all files with names that begin with the four letters MEMO and end with any single character, type the following and press Enter:

COPY A:MEMO? B:

Another task you can perform with the COPY command is to combine a number of files into one file. For example, to create a new file called DATA that consists of the files REPORT, FACTS, and MEMO, type the following and press Enter:

COPY REPORT + FACTS + MEMO DATA

In the above example, the files are located on the current drive, so no drive identifiers are necessary. To copy REPORT, FACTS, and MEMO from drive A to the DATA file on drive B, type the following and press Enter:

COPY A:REPORT + A:FACTS + A:MEMO B:DATA

Using the BACKUP command

The BACKUP command lets you store files in a compressed format for archive purposes. BACKUP is normally used to back up hard disk files; however, you can use BACKUP to copy files from any disk to another (hard disk to diskette, diskette to hard disk, diskette to diskette, and even hard disk to hard disk).

Unlike DISKCOPY and COPY, which make readable copies of files, BACKUP creates files that you cannot use until you restore them to the disk by using the RESTORE command.

You can use switches with BACKUP to back up files created after a certain date or to specify files stored in a certain directory. You can also tell BACKUP to add only those files that have been modified since the last time you ran BACKUP This process speeds up backup procedures you perform on a regular basis.

4-16

Using MS-DOS with Your Equity Ie