Microsoft KB Archive/150644

= INFO: Quotes Required in Command Line for Names with Spaces =

Article ID: 150644

Article Last Modified on 5/1/2001

-

APPLIES TO


 * Microsoft Visual SourceSafe 4.0 Standard Edition
 * Microsoft Visual SourceSafe 4.0a
 * Microsoft Visual SourceSafe 5.0 Standard Edition
 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q150644



SUMMARY
When using SourceSafe Command Line commands, such as SS CD or SS CP, to set the current project, you need to use quotation marks (" ") around a project name that contains a space. The quotation marks must surround the entire project path name or switch.



MORE INFORMATION
Failure to enclose the project name in quotation marks results in the following error message:

You may only specify one project for this command

Follow this example for any SourceSafe command line command that contains a space.

Step-by-Step Example
From the Command prompt or MS-DOS session:

 Change to the Root ($/) project:

SS CP $/

NOTE: SourceSafe returns: Current Project is $/. Create a project named First Project from the Root:

SS CREATE "First Project"

(Note the quotation marks around the project name.)

NOTE: This command without the quotes, that is SS CREATE First Project, will create two projects, one named First and the other Projects. Change to the new project:

SS CP "$/First Project"



Keywords: kbinfo KB150644

-

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

© Microsoft Corporation. All rights reserved.