[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: OT: NEVER MIND
- Subject: Re: OT: NEVER MIND
- From: Carl Distefano cld@xxxxxxxx
- Date: Thu, 23 Sep 2010 00:54:25 -0400
Reply to note from Harry Binswanger Wed, 22 Sep
2010 10:23:17 -0400
> could you explain the "for /f line"?
Executes command DIR W: and pipes output to FIND command, to trap
the line that contains the volume label:
Volume in drive W is [label]
Parses that line to identify the 6th space-delimited token (here,
the 6th word -- i.e., the volume label) and assigns it to
replaceable parameter %A.
Executes SET command to assign %A to variable V. %V% can then be
used to test for equivalence with "Week-ATAPI6".
For further info., issue P1 CMD/C FOR/? on the CMline.
--
Carl Distefano
cld@xxxxxxxx