You can only do this by making a third party App, let's call it TheApp, you would type TheApp.exe then the batch command name after it and the program will then store that and repeat it again when you hit enter. It is handling what command you type instead of cmd.exe handling it.
It's sort of like a shell within a shell.
Example Syntax:
TheApp copy "c:\windows\system32\something.ini" "E:\backup_001\2.5.16"
When you hit enter it will continue to store the copy command but not the paramaters) as part of TheApp, unless you type TheApp SomeDifferentCommand.
I am not aware of any existing programs that can do this, but you know C so you're set to go by the look of it, it would take a little more work to have it work with both internal commands and external commands (which are really just programs in themselves, mainly .com or .exe files)