PRB: Error "File <filename> Not Found" When Adding Files

This article was previously published under Q138345
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
You may receive the error "File <filename> Not Found" when individuallyadding files to Visual SourceSafe when those files have names that containspaces.
CAUSE
Visual SourceSafe may not correctly reference the file in the Add Filesdialog box. This is due to the fact that filenames with spaces must beenclosed in quotation marks in Windows 95 and Windows NT. Visual SourceSafemay not properly add these quotation marks under certain circumstances.
RESOLUTION
When adding files that have spaces in the names, select the file with themouse in the file list or enclose the filename in quotation marks in theFile Name text box.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft productslisted at the beginning of this article.
MORE INFORMATION

Steps to Reproduce Problem

  1. Create two files the names of which both contain spaces. Make sure these two files are the only files in the directory.
  2. Select (highlight) a project in Visual SourceSafe, and press CTRL+A to add files.
  3. In the Add Files dialog box, select the directory where these two files reside.
  4. Select the first file, and click Add.
  5. Add a comment if you want, and click OK.
  6. In the Add Files dialog box, click the Add button again. The file is highlighted in the list box as well as in the text box. Notice that the file is not enclosed in quotation marks.
  7. Click OK when the "File <filename> Not Found" error messages appears.
  8. Click the file in the list box. Notice that Visual SourceSafe places quotation marks around the filename.
  9. Click Add.
RESULT: The file is added without errors.
Properties

Article ID: 138345 - Last Review: 02/24/2014 08:22:54 - Revision: 2.0

  • Microsoft Visual SourceSafe 4.0 Standard Edition
  • Microsoft Visual SourceSafe 5.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbnofix kbprb KB138345
Feedback
Not Found" when individually adding files to Visual SourceSafe when those files have names that contain spaces. Visual SourceSafe may not correctly reference the file in the Add Files dialog box. This is..." />
Not Found" when individually adding files to Visual SourceSafe when those files have names that contain spaces. Visual SourceSafe may not correctly reference the file in the Add Files dialog box. This is..." />