Windows Err Msg: FILENAME.BMP Cannot Find This File

Last reviewed: November 23, 1994
Article ID: Q89803
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SYMPTOMS

If you attempt to open a Paintbrush file on a network server using the universal naming convention (UNC) by File Association, you receive the following error message:

   FILENAME.BMP
   Cannot find this file.

   Make sure that the correct path and file name are given.

CAUSE

Paintbrush cannot open a file from the command line or from a packaged object if the file is referenced only by UNC and the filename. For example, if your command line is \\SERVERNAME\SHARENAME\FILENAME.BMP, Paintbrush fails with the above error message.

UNC redirection is supported by Microsoft LAN Manager versions 1.1 and later, and by 100-percent LAN Manager compatible networks.

The same command for a Write, Notepad, Cardfile, or Calendar file works correctly. Paintbrush only works correctly if you reference the file using a valid drive letter, or use the UNC path as a parameter to PBRUSH.EXE.

WORKAROUND

  1. Open Program Manager.

  2. From the File menu, choose Run.

  3. On the command line, type:

          pbrush.exe \\servername\sharename\filename.bmp
    

This can be added to a package when using Object Packager to reference a Paintbrush file on a network server.

For more information, query on the following words in the Microsoft Knowledge Base:

   UNC and packaged and objects


KBCategory: kbtool kberrmsg
KBSubcategory: win31
Additional reference words: 3.10 3.11 err msg


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: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.