KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

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

Article: Q132601
Product(s): Microsoft Windows 95.x Retail Product
Version(s): 
Operating System(s): 
Keyword(s): 
Last Modified: 17-DEC-2000

-------------------------------------------------------------------------------
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>

======================================================================
Keywords          :  
Technology        : kbWin95search kbZNotKeyword3

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.