Command-Line Tool Guide
The Windows® XP Embedded Command-Line Tool (XPECMD) is a command-line utility that provides a powerful, scriptable interface to the Component Management Interface (CMI), which is the basis for all of the Windows XP Embedded tools.
XPECMD enables you to perform many of the same tasks as in the GUI tools, including creating and opening runtime configurations, adding, modifying and removing component instances, resolving dependencies, building runtimes, and importing components into your database. The following sections provide information on how you can accomplish some of the more common tasks.
- XPECMD Requirements
- Connecting to a Database
- Loading an Existing Runtime Configuration (SLX File)
- Saving a Runtime Configuration to Disk
- Creating a New Runtime Configuration
- Finding Components in the Database
- Adding a Component Instance to a Configuration
- Modifying the Properties of an Instance
- Finding an Existing Instance in the Configuration
- Checking and Resolving Dependencies
- Building a Runtime
- Example Scenario: Creating and Building a Sample Runtime
- Importing Components Into the Database
- Deleting Components From the Database
For more complete information on command-line usage, type
xpecmd.wsf /? at the command prompt.
For more complete information on individual XPECMD commands, type
help <command> within the program.
© 2006 Microsoft Corporation. All rights reserved.