Command Processor OS Design Development (Windows Embedded CE 6.0)

1/6/2010

The Command Processor functionality in Windows Embedded CE includes a command processor shell (Cmd.exe) that is similar to Command.com in Windows 95 and Cmd.exe in Microsoft Windows NT®. The command processor shell is a command-line-driven shell that provides a limited number of commands. The Console Window is available on display-based systems to provide a window through which the Command Processor can provide output and accept input.

OS Design Information

The following table shows operating system design information for the Command Processor and Console Window.

Concept Description

Dependencies

The Command Processor requires the Standard IO (STDIO) Catalog item. For headless OS designs, the Command Processor also requires the FormatMessage API and Full C Run-Time Catalog items and either the National Language Support (NLS) Catalog item or the English (US) National Language Support only Catalog item. The Console Window requires the Command Processor Catalog item.

Hardware considerations

None.

Modules and Components

The following table shows the components and modules that implement the Command Processor and Console Window.

Item Module Component

Command Processor

cmd

None

Console

console

None

Command Processor Implementation Considerations

You can include the Command Processor and Console Window in your OS design by adding these Catalog items. Adding one of these Catalog items sets the appropriate environmental variable, which enables the functionality in your OS design.

The following table shows the Sysgen variables that enable the Command Processor and Console Window.

Sysgen variable Description

SYSGEN_CMD

When this variable is set, the Command Processor Catalog item is included in the OS design.

When this variable is not set, the Command Processor Catalog item is excluded from the OS design.

SYSGEN_CONSOLE

When this variable is set, the Console Window Catalog item is included in the OS design.

When this variable is not set, the Console Window Catalog item is excluded from the OS design.

See Also

Concepts

Command Processor Shell
Command Processor Registry Settings

Other Resources

Command Processor