I don't know, never done this before

It's easy to open cmd via meter linkage, but I'm not sur you can add text input in a config.
Look at the existing script, or do your own (it's Vbs scripting, nothinr really hard to code)