Friday, April 27, 2012

VOL - Dos Command :

It displays the disk volume label and serial number, if they exist.
Command can be run using Microsoft Windows XP Command Prompt (cmd.exe)
To view 'vol' command with its all possible parameters you can use following command. Its like help information to regarding that command.
vol/?
Syntax :
 VOL [drive:]
Use :

ver D:
Volume in drive D is Backup
Volume Serial Number is 2CE1-1AE3

The above 'vol' command with drive as parameter displays drive name and serial number of that drive.
If you not specify drive then it displays drive name and serial number where you are currently located in that directory.

Output :


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\DINESH > vol D:
 Volume in drive D is Backup
 Volume Serial Number is 2CE1-1AE3

D:\DINESH > _

No comments:

Post a Comment