HOWTO: Remove or Change a Label

Last reviewed: February 4, 1997
Article ID: Q126786
The information in this article applies to:
  • Microsoft Visual SourceSafe versions 4.0, 5.0
  • Microsoft SourceSafe version 3.1

You can remove or change a project or file label using the GUI interface or the command line product. To remove a label, use the following steps:

GUI Interface

  1. Select the file or project from which you want to remove the label.

  2. Click the History button on the toolbar, choose the Info.History menu item with SourceSafe 3.1 or the Tools.Show History menu item with Visual SourceSafe 4.0 or later, or press CTRL+H to bring up the history dialog or output window.

  3. If the history dialog appears, select the desired options and click the OK button.

  4. Highlight the labeled history item that you want to remove or change.

  5. Click the Details button.

  6. In the Label: text box, completely delete current label characters to remove the label. To change the label, change the contents to the desired new label.

  7. Click the Close button.

Command Line

  1. Execute the Label command with the desired label options. For example:

    To change a label:

          ss Label $/test "-vl old label" "-l new label"
    

    To remove a label:

          ss label $/test "-vl old label" "-l "
    

  2. You will get a message:

    "This version of <SourceSafe object name> already has a label. Do you want to overwrite with new label? (Y/N)."

    Type y to confirm the label change.


KBCategory: kbusage kbhowto
KBSubcategory: SourceSafe ss3
Additional reference words: 3.10 update 4.00 5.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 4, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.