GetShortPathName() Does Not Work When It Is Passed a Long File Name from A Novell NetWare Server

This article was previously published under Q272137
This article has been archived. It is offered "as is" and will no longer be updated.
If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:
315854 Windows 98 and Windows Me Error Message Resource Center
When you call the GetShortPathName function with a long file name for a file that is located on a Novell NetWare server, the function reports that the path is invalid. This can manifest itself by a program reporting that it cannot open a file, or that a file name is invalid. This occurs only if the long file name includes more than one path element that is a long name.
Novell NetWare cannot handle the mixing of short and long file name parts. Because of the way GetShortPathName is implemented, this mixing occurs.
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
 Date      Time     Version        Size     File name     Platform------------------------------------------------------------------------ 08/22/00  10:14pm  476,672  Kernel32.dll  Windows 98 09/11/00  08:31am  478,720  Kernel32.dll  Windows 98                                                           Second Edition				

To work around this issue, use a map root to point a drive letter past all long file name parts.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
For additional information about Windows 98 and Windows 98 Second Edition hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:
206071 General Information About Windows 98 and Windows 98 Second Edition Hotfixes

Article ID: 272137 - Last Review: 01/07/2015 13:17:14 - Revision: 2.4

  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
  • kbnosurvey kbarchive kbhotfixserver kbqfe kb3rdpartynetclient kbkern32dll kbprb kbqfe KB272137