DOC: SourceSafe Undocumented Command Line Switches

Last reviewed: February 28, 1997
Article ID: Q127188
3.04 3.10 4.00| 3.04 3.10 | 3.04 3.10 4.00 5.00 | 3.04 3.10 4.00 5.00
MS-DOS        | UNIX      | WINDOWS             | WINDOWS NT
MACINTOSH 3.04 3.10 kbsetup kbdocerr

The information in this article applies to:

  • Microsoft Visual SourceSafe, versions 4.0, 5.0
  • SourceSafe for MS-DOS, versions 3.04, 3.1
  • SourceSafe for Windows, versions 3.04, 3.1
  • SourceSafe for Macintosh, versions 3.04, 3.1
  • SourceSafe for Windows NT, versions 3.04, 3.1
  • SourceSafe for UNIX, versions 3.04, 3.1

SUMMARY

The following command line switches were not documented in the SourceSafe version 3.0 Command Line Reference or the SourceSafe 3.1 Reference Manuals:

  • When you use the -O@<filename> switch, the at character (@) with the -O switch sends standard errors to the file as well as SourceSafe output
  • When you use the -o&<filename> switch, the ampersand character (&) with the -O switch suppresses the 'SourceSafe Output' window in the Windows and Windows NT Command Line executables.
  • When you use the -exitcode switch, SourceSafe outputs an exitcode.

Combining these switches allows for automated macros that do not require intervention from the user. For example:

      SS GET $/build -r -o@&bldreslt.txt -exitcode


KBCategory: kbsetup kbdocerr
KBSubcategory: SourceSafe vss vbwin
Additional reference words: 3.10 4.00 5.00
Keywords : SourceSafe vbwin vss kbdocerr kbsetup
Version : 3.04 3.10 4.00| 3.04 3.10 | 3.04
Platform : MS-DOS NT UNIX 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 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.