Customize the Minimal Shell Command Menu (Compact 2013)

3/28/2014

In Windows Embedded Compact 2013, you can implement a customizable minimal shell for your Windows Embedded Compact powered device. For more information, see Sample Minimal Shell.

Adding a user-defined command to the minimal shell Command menu is a simple process. Commands are stored in the registry in the HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Minshell key. Create a subkey in this location for each menu command you wish to add. The minimal shell uses the name of the subkey as the text for the command on the menu. Within each subkey, two values, App and Param, allow you to specify the command to execute as well as any optional command-line parameters or switches.

In the following example, a command called Command Prompt is added to the menu. When this command is selected, the shell executes cmd.exe with no parameters.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Minshell\Command Prompt]
"App"="cmd.exe"
"Param"=""
Show: