|
2.7
Disk Management Commands:
DISKCOPY
Type: External
Syntax: DISKCOPY [d:]
[d:][/1][/V][/M]
Purpose: Makes an exact
copy of a diskette.
Discussion
This command is used only for
copying diskettes, not hard disks.
The first
drive you specify is the drive for the source diskette. The second is the drive
for the target diskette. DISKCOPY checks to determine if the disk in the target
drive has been previously formatted. If not, DISKCOPY will format it before it
starts the copy (except in early versions of DOS).
If the target
drive is the same as the source drive (or if you do not enter a drive
designator), the copying will be done using one drive. The program will prompt
you when to insert each diskette.
Options
/1 -
Copies only the first side of the diskette, even if the target diskette is
double sided.
/V -
Verifies that the source data was copied correctly onto the destination drive.
Selecting this option will slow down the copying process.
/M -
Forces DISKCOPY to use only conventional memory for interim storage during the
copy procedure. Normally, DISKCOPY uses the hard disk for this purpose. (New
with DOS Version 6.)
After copying,
the program will display
Disk copy OK
Copy another (Y/N)?__
If you press
the letter Y key, you will be prompted to insert another disk to copy using the
same parameters. Press the letter N key to terminate
DISKCOPY.
Example
To copy the
contents of the disk in drive A to the disk in drive C (erasing any data
already on the disk), enter diskcopy a: c:
LABEL
Type: External
Syntax: LABEL
[d:][volume
label]
Purpose: Creates or
changes or deletes a volume label for a disk.
Discussion
A volume label
may consist of up to eleven characters (the same characters that are legal for
a file name). If you enter an erroneous volume label, the error message Invalid
volume label appears, and the system prompts for a re-entry.
If you use
this command without entering a volume label, the program displays
Input volume label - Up to 11
characters.
Press ENTER only to delete label.
Enter a volume
label, or press the Enter key to delete the current volume label. To display
the current label, use either the DIR or VOL command.
Example
To create the label TESTLABEL on
the diskette in drive B, enter label b:testlabel
VOL
(Volume)
Type: Internal
Syntax: VOL [d:]
Purpose:
Displays
a
disk’s
volume
label.
Discussion
The VOL
command is used to display the volume label. It is not used to add or change
the volume label on a disk. For information on how to create, change, or delete
the volume label, refer to the LABEL command.
Example
To display the volume label for
the disk in drive A, enter vol a: The program displays:
Volume in drive A is (label)
If the designated disk does not
have a volume label, the program displays:
Volume in drive A has no label
|