chkvol.exe

How to check if volume has right volume label

chkvol.exe for for Microsoft® Windows® allows to check if a volume has right volume label. chkvol.exe intended for use in batch files (.bat).

chkvol.exe fetches a volume label for the volume specified in the first command-line argument, and compares the fetched label with string specified in the second command-line argument. Utility returns 0 error code if labels match, and nonzero otherwise.

Use case

set backupv=J
set vlabel=FLASH2G

echo * Trying to mount TrueCrypt volume to %backupv%:
call C:\Tools\TrueCrypt\_mounts.cmd "\Device\Harddisk2\Partition1" %backupv%

VOL %backupv%:
if not %errorlevel% LEQ 0 goto flasherr
echo * Flash drive found!

chkvol %backupv%:\ %vlabel%
if not %errorlevel% LEQ 0 goto labelerr
echo Volume label is '%vlabel%'

Help (Command line parameters)

usage: chkvol.exe <Root Path Name> <Required Volume Label>
example: chkvol.exe C:\ WINXP

Root Path Name should be a string that contains the root directory of the volume to be described. A trailing backslash is required. For example, you specify \\MyServer\MyShare as \\MyServer\MyShare\, or the C drive as C:\.

Also if /? in the Windows Command Prompt provides article "Performs conditional processing in batch programs". See "ERRORLEVEL" section.

Screenshots

chkvol.exe in use

Buy a License

chkvol.exe can be ordered online. Our secure online retailer is Plimus Corporation, Inc.

  • Single User License ($15.00) - a per-user license for general commercial use, allows for installation on multiple machines of a lone user. Order now!

After ordering, you will receive an uniqu link by e-mail to download your copy of the software.

CD-ROM available for an additional 9.90 USD (includes shipping). A CD-ROM will be shipped to you by Plimus. There is no difference between the download and the CD-ROM product. When you download, you get exactly the same software that comes on the CD-ROM.

Price list

Product Price  
chkvol.exe 1.0 - Full Version with Single User License (#3106422) $15.00 Order now!
chkvol.exe 1.0 - Full Version with Corporate License (per workstation licensing) (#3106424) $15.00 per workstation Order now!

If you have placed an order but have not received a confirmation letter and registration key within a reasonable period (two business days for credit card payments or two weeks for other payment methods) then please notify us via e-mail at support@ucware.com.

If you have any questions or concerns, please feel free to contact us at support@ucware.com.