BUG: "Invalid DOS Path" Error with Visual SourceSafe Command Line GET (266429)



The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows 5.0
  • Microsoft Visual SourceSafe for Windows 6.0

This article was previously published under Q266429

SYMPTOMS

When you execute a Visual SourceSafe command line GET with the -gf switch on a file, if the working folder does not exist, you may receive the following error message:
Invalid DOS Path

CAUSE

The GET command assumes that the working folder has already been created.

RESOLUTION

To work around this problem, execute the following commands:

ss get $/project1 -gf -g-
ss get $/project1/test.txt -gf

The first command creates the directory structure, and the second command does a GET on the Test.txt file.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a project named project1, and place a file named Test.txt in the project.
  2. Set the working folder for project1 to C:\project1.
  3. When you receive the message "C:\project1 does not exist, do you want to create it?", click OK.
  4. Delete C:\project1.
  5. From a command line, type the following (execute this command from the Vss\Win32 folder):

    ss get $/project1/test.txt -gf


Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport KB266429