Ok, I did some further tests. If the extension is .bat then the parameters are send but if the extension is .cmd then the parameters are not send. So if you rename x.bat to x.cmd and type "x.cmd 1 2 3 4 5" you'll get empty output for the parameters.
Unfortunately all of our batches have the extension .cmd. As far as I remember in early times there existed command.com (16bit) an cmd.exe (32bit) and we used .bat for command.com batches and .cmd for 32bit batches.
Anyway, if I open a command line (cmd.exe) and run "x.bat 1 2 3 4 5" and "x.cmd 1 2 3 4 5" then I get the same output and this should also be the behaviour within MC. It's strange that MC handle this extensions differently and I have no idea why.
Of course I could type in MCs command line:
cmd /c "x.cmd 1 2 3 4 5"
and this would give the correct and expected output. But that would be only a workaround, no solution.
Can this different behaviour for .bat and .cmd be influenced in any settings? Or must this be changed internally in a future MC version?
Regarding the focus: In Explorer Panel settings, keyboard handling I tagged Quick search, untagged Search field, untagged Search for text parts anywhere in the file/folder name and defined Search keys to "Letter only / will disable "Forward keys to command bar".
If the focus is in one of the panels, then typing should position the focus to the next filename with the typed characters. That's ok and well known from other commanders. If the focus is in the command bar then the typing should go to the command bar. This is also well known from other commanders and MC works the same way.
But when I use a hotkey to send the filename (or panel directory) to the command line then MC should set the focus to the command bar since it is highly expected that I want to use the command bar for the next action. With the other "Search keys" settings you can distinguish between normal letters (for command bar) and ALT+Letters and CTRL+ALT+Letters (for active panel). In my Search keys setting "Letters only" the Quick search keys and the command bar keys would be both normal not altered keys. So it would be a great help to switch the focus to command bar if any internal command is choosen, which sends something to the command bar.