다음을 통해 공유


Commerce Server Staging Flags

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This topic lists the flags or switches that you can use with Commerce Server Staging (CSS) commands. For information about the commands that these flags apply to, see Staging Commands.

Project Flags

The following flags are valid for all staging projects.

Option

Description

/Comment <comment>

Contains comments for the staging project. This is comparable to entering text in the Note box on the Project tab in the Project Properties dialog box.

/Display

Displays the results of the deployment as it runs. This flag is used with the Deploy command.

Web Content Project Flags

The following optional flags are only valid for Web content projects. If no flags are specified, /Incremental is assigned as the default option.

Option

Description

/[No]Automatic

Specifies whether to stage content automatically or according to a schedule.

/[No]Delete

Specifies whether to preserve deleted content on the endpoint servers.

/[No]DirsOnly

Specifies to replicate the directory structure only. This flag cannot be used with the /Incremental option.

/[No]Force

Specifies whether to force deployment of all content.

/[No]Incremental

Specifies whether to stage all content or only that content that has changed.

/Exclude <dir>

Specifies a single directory to be excluded from staging.

/ExcludeAll

Specifies that all subdirectories be excluded from staging.

/Filter <filter1> [...]

Specifies the filters to use to include or exclude specific assets, such as files or directories, in a Web content staging project. Options available for specifying filters are as follows:

+<filter>Includes the file or directory filter.
-<filter>Excludes the file or directory filter.
\Applies the filter to directories.
...\Applies the filter to all subdirectories.
<filter>A file or directory filter that can use wildcard characters.

For example, to include text1.txt, exclude all files that end in .exe that are in the project root directory, exclude the directory dir1, and include all *.jpg files in the whole directory tree, specify:

 /Filter "+text1.txt -*.exe -dir1\ +...\*.jpg"

/MapURL <urlname>

Specifies the URL to which the destination maps.

/[No]Route

Instructs CSS to compare the destination names that are provided against the route names that are defined on the server. CSS will treat the destination strings that resemble existing routes that are defined on the server as route names. The default assignment is /Route.

Aa544810.alert_note(en-US,CS.70).gifNote:
Routes can only be used to stage Web content and business data.

/VDirAttribs<rwesb>

Specifies the access rights to set on the virtual directory:

  • r=Allow read access

  • w=Allow write access

  • e=Allow execute access

  • s=Allow script access

  • b=Allow directory browsing

IIS Metabase Project Flags

The following flag is only valid for IIS metabase projects. Specification of this flag is required for all IIS metabase projects.

Flag

Description

/Metabase

Specifies to stage IIS metabase information.

Business Data Project Flags

The following flags are valid for business data projects.

Flag

Description

/[No]BusinessData

Specifies the project type.

/BusinessXmlFile <filepath>

Specifies the path and file name to the business data configuration XML file.

/[No]Route

Specifies that one or more routes are specified as destinations. CSS treats the destination strings that resemble existing routes that are defined on the server as route names. The default assignment is /Route.

Aa544810.alert_note(en-US,CS.70).gifNote:
Routes can only be used to stage Web content and business data.

Global Flags

The following table lists the flags that are used to specify the server and credentials that are used to run a CSS command.

Flag

Description

/Server <ServerName>

Specifies the server for which the command should execute. Leave blank to execute the command on the server where you enter the command.

/User <user> [pass | *]

Specifies the credentials to use to run the command. You must specify a user name that has the required CSS administrator or operator rights on the server where the command will be executed. If you omit the user name, the user name of the person who enters the command is used.

If you omit the password or enter an asterisk, CSS prompts you for the password. The password you enter is not displayed on the screen.

See Also

Other Resources

Staging Commands

Staging Command Line Utility