May contain traces of nut
I see, you're invoking another bash session inside the loop. Can that command be run on a command line, or does it have to be in a script file?
Interesting. This stuff post-dates when I was actively writing .bat files, so I'm not really aware of it. We used to have to install third-party command extension packages, which you could never assume would be present on another system so I didn't use them.There are loads of %whatevers you can do these days to stop you making the mess in the first place.