To configure the command processor shell on windows CE to run over a serial connection add the following to your registry:
Here is the corresonding ndcucfg script
When starting a command window the next time (cmd.exe) in- and output will be prompted on the specified serial line.
BTW: You might use the ndcucfg command "start cmd" to run the command shell if now display is available.