Article ID: 263926 - Last Review: February 28, 2007 - Revision: 3.5

16-Bit MS-DOS-Based Programs Cannot Change Label with CreateNewFile() Function

This article was previously published under Q263926

On This Page

Expand all | Collapse all

SYMPTOMS

16-bit MS-DOS-based program behave differently under Windows 2000 than under MS-DOS when they call the CreateNewFile function (INT 21h, AH=5Bh) to write a disk label (CX=08h).

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910  (http://support.microsoft.com/kb/260910/EN-US/ ) How to Obtain the Latest Windows 2000 Service Pack

Windows 2000

The English version of this fix should have the following file attributes or later:
   Date    Time    Size     Version        File name
----------------------------------------------------
   6/8/00  3:55PM  395,024  5.0.2195.2096  Ntvdm.exe
				

WORKAROUND

You can use the CreateFile function (INT 21H, AH=3Ch) to change the label. However, to use this method, you must have access to the source code for the program.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.

APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbhotfixserver kbqfe kbappdev kbbug kbfix kbprogramming kbwin2000presp2fix KB263926
 

Article Translations

 

Related Support Centers