Command Line of SourceSafe

Source: Internet
Author: User
SourceSafe command line (11:45:31)
Tag: vssCommand LineIt Category: Software Development

LEnvironment Settings

NVSS must be installed locally

NAdd the directory where VSS is located (such as C: "Program Files" Microsoft Visual SourceSafe) to the System Path

UBatch writing: setPATH = % PATH %; vsspath

NAdd the environment variable SSDIR to the path of the target VSS server (for example, "172.16.1.40" VSS_PATH)

UBatch writing: set SSDIR = vssserver

LCommand line options

NYou can use either of the following methods to prevent the command line from asking about user authentication information:

UAdd the following options to each command line:-Yusername, password (no space)

UAdd Environment Variables

•      Set ssuser = <username>

•      Set sspwd = <password>

UAvoid the command line asking "Yes" and "No" (for example, whether to create a directory)

•      Add the following options to each command line:

-     I-Y Yes for all questions

-     I-N No is answered for all questions.

-     -I   Use default answers to all questions

-     -I-  No parameters are input for all questions answered

LCommon commands

NSs CP $/SobeyNM

NSpecifies the current directory on VSS, and subsequent operations will take this as the current directory

USs Get-I-Y-R

•      Recursively retrieve all the sub-files and sub-folders in the current VSS directory to the current local directory.

•      Ss Get $/Project/sub-I-Y-R

-     Recursively retrieve

•      Ss CheckOut Interface. h-I-Y

-     Checkkout VSS specifies the file in the current directory to the current directory (not the relative directory structure of the default working directory)

•      Ss CheckIn Interface. H.264 I-Y

-     The specified file in the current directory of CheckIn is in the current directory of VSS.

•      Ss Label-L "Label Name"-I-Y

-     Add Label for current directory

-     The VSS Label cannot be duplicated because-I-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.