Microsoft KB Archive/814711

= You receive an &quot;invalid command line option&quot; error message when you try to install Visual SourceSafe 6.0c =

Article ID: 814711

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0C
 * Microsoft Visual Studio 6.0 Enterprise Edition

-





SYMPTOMS
If you set the TEMP environment variable and the TMP environment variable to the short file name format (example: C:\DOCUME~1\TESTTE~1), and you try to install Microsoft Visual SourceSafe 6.0c on your computer, you may receive the following error message and the installation will not succeed:

This is an invalid command line option: Settings\Test Temp Directory\vs60wiz.exe



WORKAROUND
To work around this problem, set the TEMP environment variable and the TMP environment variable to the long file name format. In the long file name format, the file name that appears in the example in the &quot;Symptoms&quot; section will appear as follows:

C:\Documents and Settings\Test Temp Directory



STATUS
Microsoft has confirmed that this is a bug in Visual SourceSafe 6.0c.



Steps to reproduce the behavior
 On a clean computer, create a folder that is named Test Temp Directory. Create this folder in the C:\Documents and Settings folder. Click Start, point to Settings, and then click Control Panel. In Control Panel, double-click System. The System Properties dialog box appears. In the System Properties dialog box, click the Advanced tab. On the Advanced tab, click Environment Variables. Edit the TEMP environment variable: <ol style="list-style-type: lower-alpha;"> In the User Variables for  section, click the TEMP variable, and then click Edit. The Edit User Variable dialog box appears.

Note  is a placeholder for the user name of the user who is logged on to the computer.</li> In the Variable value box, type C:\DOCUME~1\TESTTE~1, and then click OK.</li></ol> </li> Edit the TMP environment variable: <ol style="list-style-type: lower-alpha;"> In the User Variables for  section, click the TMP variable, and then click Edit. The Edit User Variable dialog box appears.</li> In the Variable value box, type C:\DOCUME~1\TESTTE~1, and then click OK.</li></ol> </li> Click OK to close the Environment Variables dialog box, and then click OK to close the System Properties dialog box.</li> Try to install Visual SourceSafe 6.0c.</li></ol>

<div class="references_section">