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

Article translations Article translations
Article ID: 272137 - View products that this article applies to.
This article was previously published under Q272137
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
Expand all | Collapse all


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:;EN-US;CNTACTMS
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: January 29, 2007 - Revision: 2.4
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
kbhotfixserver kbqfe kb3rdpartynetclient kbkern32dll kbprb kbqfe KB272137

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from