PublishStore utility

The PublishStore script allows you to publish store archives from a command line.

Syntax

PublishStore Syntax Diagram

Parameter values

-svr
The fully qualified TCP/IP name of your WebSphere Commerce Server.
-userid
The WebSphere Commerce Site Administrator's user ID. You must have Site Administrator access to publish a store archive.
-pwd
The WebSphere Commerce Site Administrator's password.
-sar
The full path of the store archive on the host machine, for example,c:\wcs\samplestores\ConsumerDirect\ConsumerDirect.sar

Example

The following example shows you how to use the command to publish a store archive from the command line:

Behavior

The PublishStore script allows you to publish a store archive from a command line. Publish uses the default values for the parameters contained in the store archive. The PublishStore script does the following:

Feedback