If you’re sharing your own version of this script, remember to remind your readers:
to create your own key generation script?
While batch scripts are lightweight, modern applications often move away from .cmd based generators for several reasons (ease of reverse engineering, lack of native cryptography, poor error handling).