You can use the ccontrol command, which is in the instance's bin directory. If you run it with no arguments, it opens a browser window with a list of the
options (the page it opens is in the help directory.) For example:
c:\intersystems\cache\bin\ccontrol.exe console testinst %SYS.MV user
will open a windows console and run the mv shell in namespace user on instance testint.
ccontrol expects a rountine, not a command, so you need to use the routine ^%SYS.MV instead of the command MV. You also need to do some quoting if you pass
arguments, to get past DOS's command handling:
c:\intersystems\cache\bin\ccontrol.exe console testinst "%SYS.MV(\"LIST VOC\")" user
The quotes around the "LIST VOC" need to be escaped with backslashes, and the entire routine name needs to be quoted because of the space inside.
You'll might want to use your own routine rather than ^%SYS.MV, by putting the #PRAGMA ROUTINENAME into a basic program.
You will probably want to use the "runw" option instead of "console"