Black Hole
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.


). The problem is/was that I only have a 32 bit machine and a version of Borland C++ that is ancient. I'm not sure whether it has compiled as a standalone executable (I think so) or whether it needs the run-time libraries (don't think so but not 100% sure). With no guarantee or warranty that it will work on your computer or meet your exacting needs here is a zip file containing my attempt. There is a text file included with ideas for a batch file and a sample output (note references to ASCII and Unicode are for my benefit). If it works, it works. If it doesn't, hey ho!