Microsoft KB Archive/263926

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

Article ID: 263926

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q263926



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

Keywords: kbhotfixserver kbqfe kbappdev kbbug kbfix kbprogramming kbwin2000presp2fix KB263926

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.