BC may offer his solution in "C", "Assembly", Pearl or Machine Language . . .
or any code at his command?
What the heck is Pearl? never heard of that language.
I thought the Hope Board was designed for Batch?
Don't recall it ever saying that anywhere. the DOS board would, ideally, be for
DOS batch files, you know, for DOS, not windows with command extensions. the only reason the DOS board is being used for Windows-based batches with command extensions is because otherwise they may as well remove it. maybe 1 in a thousand people are actually referring to a pure DOS batch. Because of that, and the fact that all versions of windows down to windows 98 natively support languages such as VBScript and jscript
as the official scripting language of the OS, any feasible solution is valid.
If Ghostdog wants to post his solution in python, or awk, or what have you, then he's free to do so, especially when it solves the OP's problem. because, surprisingly, the OP most often doesn't really CARE what was used; as long as it solves the problem.