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

Abort on error DO loop

$
0
0
If I have a command line DO that is operating on a list is it possible to abort the DO if the command errors?
E.g.
Code:
do f in /l a b c (somecommand %f)

If somecommand errors while working on a or b, I'd like the DO to stop and not even try c.

Viewing all articles
Browse latest Browse all 1683

Trending Articles