Q66514: Unable to Create a File Larger Than 32MB with DOS 4.x
Article: Q66514
Product(s): See article
Version(s): 6.00 6.00a
Operating System(s): MS-DOS
Keyword(s): ENDUSER | S_QuickC S_MASM appnote PATCH32M.ARC | mspl13_c
Last Modified: 11-NOV-1990
Question:
I am creating a database program and I cannot create files larger than
32 megabytes (MB). Doesn't Microsoft's C compiler allow me to do this?
Response:
The problem isn't with the C compiler but with the operating system.
Microsoft has confirmed that MS-DOS versions 4.00 and 4.01 do not work
correctly when accessing files that are close to or larger than 32MB
in size. The file size does not get updated past 32MB.
Microsoft has produced a patch program, PATCH32M.EXE, for DOS versions
4.x, which corrects this problem by modifying the MSDOS.SYS (or
IBMDOS.COM) file on your system disk. This patch is found in the
Software/Data Library or it can be obtained by calling Microsoft
Product Support.
PATCH32M can be found in the Software/Data Library by searching for
the keyword PATCH32M, the Q number of this article, or S12506.
PATCH32M was archived using the PKware file-compression utility.
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.