Share via


SDM Command Line Window

SDM Command Line Window

The SDM SDK provides a Command Prompt window that sets up environment variables used with SDM command-line tools. Open the SDM Command Prompt window by selecting System Definition Model SDK on the Start menu. For more information on SDM command-line tools, see SDM Command-Line Tools.

The SDM Command Prompt window creates the following environment variables in the command window:

  • SDMMODELSDIR

    The directory where all the built-in .sdmdocument files can be found (for example, Microsoft.WebApplication.sdmdocument). This directory is necessary to reference .sdmdocument files from the .sdm files you create.

  • SDMPUBLICASSEMBLIES

    The directory containing the following DLLs that are public APIs for the SDM compiler:

  • SDMTOOLSDIR

    The directory where the SDM tools (for example, SdmC.exe) are found.

  • V2CLRINSTALLDIR

    The directory where the common language runtime tools (for example, Csc.exe) and libraries (for example, System.Xml.dll) can be found.

The SDM Command Prompt window also updates the system path to include the SDMTOOLSDIR and V2CLRINSTALLDIR environment variables. This enables you to run a tool without specifying its full path.

Send comments about this topic to Microsoft

Build date: 10/2/2007