Surround SCM command-line interface (CLI)

The Surround SCM command line interface (CLI) provides access to all features and functionality. You can use the CLI in a command shell (Unix) or at a DOS prompt (Windows).

The main Surround SCM command is sscm. The case sensitivity of this command is platform-dependent. Other commands and options are case insensitive. For example, checkin and -p can also be entered as CHECKIN or -P.

1. Use the cd command to change to the directory where Surround SCM is installed.

For example, enter cd C:\Program Files\Perforce\Surround SCM to open the default installation directory on Windows.

2. Enter sscm followed by the command and options at the prompt.

For example, sscm checkin DevPolicies.txt -c- -k checks in the DevPolicies.txt file to the default working directory branch and repository without comments and keeps the file checked out. If an argument contains a space, enclose it in quotes to indicate it is one argument (e.g., sscm co "About Dlg.ui").

To view all available command options and examples directly in the command prompt, enter sscm <command> -h.