Share via


CSS AddRoute Command

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

Adds a new route to a Commerce Server Staging (CSS) server.

AddRoute <RouteName> <Directory> [Dest1] [...] [GlobalFlags]

Parameters

Argument

Description

<RouteName>

Specifies the name of the route. Type a unique name for the route. Route names must consist of alphanumeric characters and must not exceed 49 characters.

For each route, the route name must be the same on all servers in the route.

<Directory>

Specifies the path of an existing directory. This directory is used to temporarily store data that is staged. The directory must be specified in the form: <drive>:/<path>.

[Dest1]

Specifies a destination for the route. Multiple destinations may be specified separated by a space.

Global Flags

Option

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.

Remarks

You must have CSS administrator rights to execute this command.

If you create a duplicate route (one that already exists) using this command, CSS overwrites the existing route with the new route. This functionality may affect the deployment of projects that use the existing route.

See Also

Other Resources

Configuring Routes for Staging

Staging Commands