World Library  
Flag as Inappropriate
Email this Article

Vol (command)

Article Id: WHEBN0017079252
Reproduction Date:

Title: Vol (command)  
Author: World Heritage Encyclopedia
Language: English
Subject: Diskcopy, Ftype, W32tm, Replace (command), Comp (command)
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Vol (command)

In some operating systems (e.g., DOS,[1] OS/2 and Microsoft Windows[2]) vol is a command within the command line interpreters (shells) such as COMMAND.COM and cmd.exe. It is used to display the volume label and volume serial number on a logical drive, such as a hard disk partition or a floppy disk, if they exist.

Syntax

vol [Drive:]

Arguments:

  • Drive: This command-line argument specifies the drive letter of the disk for which to display the volume label and serial number.

Note:

  • On Windows, the volume serial number is displayed only for disks formatted with MS-DOS version 4.0 or later.
  • OS/2 allows the user to specify more than one drive. The vol command displays the volume labels consecutively.

Examples

OS/2

[C:\]vol C:

The volume label in drive C is OS/2.
The Volume Serial Number is 0815:1611.

Windows Vista

C:\Users\root>vol C:
Volume in drive C is Vista
Volume Serial Number is 080F-100B

In the example above, if drive C: has no volume label, "has no label" is shown instead of "is Vista".

Supported file systems

See also

References

  1. ^
  2. ^ Microsoft TechNet Vol article
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.