- Jun
- 71
- 2
In a for ... in ... do (...) loop with command grouping, when multiple commands are wrapped in the parentheses grouping, what are the limits to what or how much can be placed in the parentheses?
Is is strictly a character count or what? I have had a batch file that seemed to work fine when I had, say, 20 lines in the parenthetical grouping, but now that I have added additional lines, the command fails. The help message just says improper syntax. So I'm wondering whether I'm trying to put too much stuff in the (parentheses).
What are the limits, restrictions, etc., to command grouping?
Eric
Is is strictly a character count or what? I have had a batch file that seemed to work fine when I had, say, 20 lines in the parenthetical grouping, but now that I have added additional lines, the command fails. The help message just says improper syntax. So I'm wondering whether I'm trying to put too much stuff in the (parentheses).
What are the limits, restrictions, etc., to command grouping?
Eric