Using Common DOS Utilities
You??™ll find a number of common DOS utilities on your hard drive. Most of these utilities appear
with every version of DOS, even those that Microsoft didn??™t produce (such as the IBM version).
For the most part, these utilities perform maintenance tasks that you could perform in a batch file. For
example, many people had batch files for working with the DiskCopy utility when floppy disks
were popular. The following sections describe these utilities in detail.
Comparing the Contents of Disks with the DiskComp Utility
You can use this utility to compare the contents of two floppy disks. Because of the way the utility
works, the two floppies must have precisely the same format and you can??™t compare two newer
forms of media, such as CDs. A better alternative for modern media is the FC utility described in
the ???Performing Advanced File Comparison with the FC Utility??? section of Chapter 14. This utility
uses the following syntax:
DISKCOMP [drive1: [drive2:]]
The following list describes each of the command line arguments.
drive1: Specifies the source drive.
drive2: Specifies the destination drive. If you don??™t specify a destination drive, the utility
assumes that you??™ll use one drive for the comparison and prompts you to replace the source disk
with the destination disk as needed.
Pages:
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320