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

Last reviewed: February 28, 1997
Article ID: Q138345
4.00 5.00 | 4.00 5.00
WINDOWS   | WINDOWS NT
kbusage kbbuglist

The information in this article applies to:

  • Microsoft Visual SourceSafe for Windows, versions 4.0, 5.0
  • Microsoft Visual SourceSafe for Windows NT, versions 4.0, 5.0
  • Microsoft Visual SourceSafe for Windows 95, versions 4.0, 5.0

SYMPTOMS

You may receive the error "File <filename> Not Found" when individually adding files to Visual SourceSafe when those files have names that contain spaces.

CAUSE

Visual SourceSafe may not correctly reference the file in the Add Files dialog box. This is due to the fact that filenames with spaces must be enclosed in quotation marks in Windows 95 and Windows NT. Visual SourceSafe may not properly add these quotation marks under certain circumstances.

RESOLUTION

When adding files that have spaces in the names, select the file with the mouse in the file list or enclose the filename in quotation marks in the File Name text box.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

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 the Add button.

  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 the Add button, and the file is added without errors.


KBCategory: kbusage kbbuglist
KBSubcategory: SourceSafe vss vbwin
Additional reference words: 4.00 Windows 95 5.00
Keywords : SourceSafe vbwin vss kbbuglist kbusage
Version : 4.00 5.00 | 4.00 5.00
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 28, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.