in reply to Re^2: execution of command inside for loop fails
in thread execution of command inside for loop fails

That doesn't seem to be your only typo. Please use copy&paste to copy your actual code.

In programming, every single character can be the difference between a program working and failing. It's not efficient at all to work with something that vaguely looks like your real code, but gets some details wrong.

  • Comment on Re^3: execution of command inside for loop fails