Microsoft KB Archive/321485

= How to Verify Visual SourceSafe User Name and Password from a Command Prompt =

Article ID: 321485

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition
 * Microsoft Visual SourceSafe 6.0C

-



This article was previously published under Q321485



SUMMARY
The Ssidchk.exe command-line utility determines whether the user name and the password that are specified are valid for the Visual SourceSafe database. This information is then forwarded to the user or a batch file (or both).



MORE INFORMATION
Typically, if an invalid user name or password is passed to Ss.exe from a command prompt, the user is prompted to type a valid user name or password. However, when you script with Ss.exe, the invalid user name or password stops the batch file from running.

With the Ssidchk.exe utility, you can validate user names and passwords before they are passed to Ss.exe. This can provide the user with the appropriate feedback. In Visual SourceSafe version 5.0 or earlier, the Sslogin.exe program, which is included with Visual SourceSafe, provides this functionality.

The Ssidchk.exe utility is a stand-alone, executable file that you do not have to install. The utility is designed to work on the Intel x86 platform with Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP.

Download
The following file is available for download from the Microsoft Download Center:

Download Ssidchk.exe now

Release Date: May 23, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Syntax
To use the Ssidchk.exe utility, use the following syntax at a command prompt:

ssidchk   

For example, run the following command at a command prompt:

ssidchk f:\vss\data  

Sample Script Usage
@echo off ssidchk data\ MyUsername MyPassword echo. echo.

if not %ERRORLEVEL% EQU 0 goto FAILURE Echo Valid Username and Password Echo. SS Dir $/ -yMyUsername,MyPassword GOTO ENDSCRIPT


 * FAILURE

ECHO Bad Username and/or Password GOTO ENDSCRIPT


 * ENDSCRIPT

Additional query words: SSIDCHK

Keywords: kbdownload kbfile kbinfo KB321485

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.