Shortcut to MS-DOS-Based Program on Network Drive Fails

Last reviewed: August 22, 1995
Article ID: Q132601
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

When you try to use a shortcut to an MS-DOS-based program (.com, .exe, or .bat file) on a network drive that has been disconnected, you receive the following error message:

   Cannot find the working folder for this program. The program may have
   difficulty locating its files and documents. Make sure that the working
   folder is specified correctly in the property sheets for the program
   and any shortcuts to it. Do you wish to run the program anyway?

If you click Yes, you receive the following error message:

   Cannot find the file <drive>:\<path>\<program file>

This problem does not occur with shortcuts to Windows-based programs or registered file types.

CAUSE

Windows 95 does not correctly remap the network drive before trying to run the MS-DOS-based program specified in the shortcut.

RESOLUTION

Remap the network drive containing the MS-DOS-based program file using the same drive letter, or change the shortcut to use a UNC path. UNC paths have the following syntax:

   \\<servername>\<sharename>\<path>\<program file>


KBCategory: kbnetwork kberrmsg
KBSubcategory: posfest win95
Additional reference words: 95


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: August 22, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.