HOWTO: Perform a Recursive Check-in at the Command Line

Last reviewed: February 27, 1997
Article ID: Q151705
4.00 5.00 | 4.00 5.00
WINDOWS   | WINDOWS NT
kbusage kbhowto

The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows, versions 4.0, 5.0
  • Microsoft Visual SourceSafe for Windows NT, versions 4.0, 5.0
  • Microsoft Visual SourceSafe for Windows 95, versions 4.0, 5.0

SUMMARY

This article demonstrates how to use Visual SourceSafe Explorer to check in all of the files that are currently checked out within a project and its subprojects. In Visual SourceSafe Explorer, the operation is different from that in the Command line. The Explorer knows where all of the files have been checked out to and also knows which projects to check them back into.

MORE INFORMATION

To perform a check in for all files with the Explorer, right-click the main project and select Check In. Select the Recursive check box and click OK. All of the files that were checked out in the subprojects, as well as the main project, will be checked in. The example below will explain how to achieve the same result from the Command line.

Step-by-Step Example

  1. Change to the working directory at the Command line. Be sure to type in the DOS PATH command to the \\vss\win32 directory to issue SourceSafe commands from the working directory.

  2. Type the Command "SS DIR" to see the files that have been checked out. These files may be checked out in the Explorer prior to the check in process at the Command line.

  3. All the projects need to be specified when performing a check-in. For example:

          SS CHECKIN $/Project $ SubProject -r
    

  4. Check back in to Visual SourceSafe Explorer, press the F5 key to refresh, and note that all of the files have been checked in.


KBCategory: kbusage kbhowto
KBSubcategory: SourceSafe
Additional reference words: 4.00 5.00 checkout
Keywords : SourceSafe kbhowto kbusage
Version : 4.00 5.00 | 4.00 5.00
Platform : NT WINDOWS


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 27, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.