Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

Spurious errors (triggered by "for" construct?) when adding/removing "echo" lines

$
0
0
Synopsis: echo statements are inconsistently generating apparently unrelated errors.

Spoiler: problem goes away when I replace the for () construct in the following code chunk with a do/enddo construct. But these results are still mildly interesting.

I have a .btm script that processes one or more filesets, which are specified on the command line. The heart of the script looks like this:
Code:
do while "%1" != ""
    <code here to parse fileset from command line>
    for...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles