I think if we create a script of a thousand lines of code nobody would ever run it Douglas already suggested to have some specific scripts up our sleeves. Your suggestions could be part of those scripts. The original intention was to point out the basic differences. Maybe it's already a bit overdone.
there's a typo on line 86
What a silly bug
Codepages may produce weird characters when language special chars are used, here Versi¢n should be Versión.
I'll solve it like I did for the DIR command (using CHCP). Thanks, I wasn't aware of that failure.
I've noticed that all the results posted so far report that delayed expansion is disabled for both the system and the user. That seems unlikely, and I think it's because the test is backwards.
That's something I already answered to you. You can enable it using setlocal EnableDelayedExpansion. The script only reports the default setting. E.g. if you run a script via double click then delayed expansion is initially disabled.
I'm too tired to work on the script today. I will do the corrections tomorrow...