Yep, this works fine, until you did it a 7th time and end up with a task bar full of unused console windows.
Not trying to take anything away from your script, it has a use-case, but just pointing out that there are alternate solutions for systems that don't have your script installed.