VOL
This page was last modified 14:33, 1 June 2020 by Mars2000you. Based on work by Gdx.

Contents

Effect

Displays or changes the optional volume name on a disk.

Note: The FORMAT command deletes all data, including the optional volume name.

Syntax

VOLUME <Device>:<VolumeName>

All parameters are optional.

Parameters

<Device> is the name for used device. It can only be a disk drive.

If you don't specify the drive, the computer will display or change the volume name of the disk in the currently active drive (by default, it's drive A:)

Device type Device name Remark
Disk drive A, B, C, D, E, F, G, H A floppy disk interface can control until 2 drives.


<VolumeName> is the volume name that you want to give to the disk inserted in the specified drive. It's a sequence of up to 11 characters, which can include the characters not valid for filenames with the exception of control codes and '/', although leading spaces will be deleted.

Examples

A>VOLUME B:
A>VOLUME C:UTILITIES

Related to

FORMAT, FREE

Compatibility

MSX-DOS 2 / Nextor with COMMAND2.COM v2.20 and higher