Vidyalelo
Computer Science · Q100

Disk Operating System (DOS)

Engineering and GATE · Computer Science · question 100

Q100

Which command is used to set a name to a disk in DOS?

A.
VOLUME
B.
VOL
C.
LABEL
Answer
D.
DISKLABEL

Answer: Option C

Solution

Answer: Option C
Solution:
To set a name to a disk in DOS, the correct command is VOL. Here's the explanation for each option:
Option A: VOLUME is not the correct command in DOS to set a name to a disk.
Option B: VOL is used to display the disk volume label in DOS, not to set or change it.
Option C: LABEL is the correct command in DOS used to set or change the disk volume label. This command allows you to assign a name to a disk.
Option D: DISKLABEL is not a valid command in DOS.

Therefore, while Option C (LABEL) accurately describes the command used to set a name to a disk in DOS, Option B (VOL) specifically displays the current disk volume label and does not set or change it.