Raistlin wrote:
| *Charles Dye*
| ---Quote---
| I believe you need to double your percent signs here
| ---End Quote---
| Yeah, I'm wondering why I haven't tried this myself :)
|
| ---Quote---
| SWITCH is inherently a multiline construct, and FOR is inherently
| single-line. Use DO instead. ---End Quote---
| Well IFF is another multiline construct, but it works inside FOR loop.
Technically, DO and SWITCH are multiline commands; IFF is a multiple
command.
|
| Anyway, I believe such things should be illustrated in Help.
Agreed. Some elements are. Impossible to illustrate all possible variations.
SWITCH is documented to perform its actions "in a batch file". The existence
of limitations in using a command group in the DO clause of FOR is also
documented.
--
Steve