Whenever you use the Ver command, you receive the operating
system version information. The version information contains the operating system name in
human-readable form, the major version number, the minor version number, and the build number.
For example, the current Windows XP version at the time of this writing is Microsoft Windows
XP [Version 5.1.2600]. Server Core displays something like Microsoft Windows [Version 6.0.6001].
Getting Volume Information with the Vol Command
The Vol command displays the volume information for the current or selected drive. The information
includes the drive letter, the drive volume name, and the serial number. This command uses
the following syntax:
VOL [drive:]
The following describes the command line argument.
drive Specifies the letter of the drive for which you want to obtain volume information. The
default is the current drive.
STARTING THE COMMAND INTERPRETER 127
Using Debugging Utilities
The command line is an admittedly simple place to work from a programming perspective. In fact,
using batch files is more along the lines of working with a very simple kind of script, rather than
a complex application.
Pages:
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349