"Packed File Corrupt" Error Message (72360)
The information in this article applies to:
• Microsoft MS-DOS operating system 2.11
• Microsoft MS-DOS operating system 3.1
• Microsoft MS-DOS operating system 3.2
• Microsoft MS-DOS operating system 3.21
• Microsoft MS-DOS operating system 3.3
• Microsoft MS-DOS operating system 3.3a
• Microsoft MS-DOS operating system 4.0
• Microsoft MS-DOS operating system 4.01
• Microsoft MS-DOS operating system 5.0
• Microsoft MS-DOS operating system 5.0a
• Microsoft MS-DOS operating system 6.0
• Microsoft MS-DOS operating system 6.2
• Microsoft MS-DOS operating system 6.21
• Microsoft MS-DOS operating system 6.22
This article was previously published under Q72360
SYMPTOMS
Running an .EXE file that has been "packed" using the EXEPACK utility or
the /EXEPACK linker option may result in the following error message even
though the packed file is intact:
Packed file corrupt
CAUSE
This behavior is a result of an error in the code that unpacks the
.EXE file. You can determine if this is the cause of your problem by
starting a new copy of COMMAND.COM. To do this, type command at the MS-DOS prompt and press ENTER.
(It may be necessary to repeat this several times.) Then try to run
your program.
NOTE: This error is more likely to occur with MS-DOS version 5.0 and
later because it is capable of freeing up more conventional memory.
WORKAROUND
If the method above is successful, you may resolve the problem in a
more permanent fashion by increasing the FILES and BUFFERS in your
CONFIG.SYS file.
If you are running MS-DOS 5.0 or later, you can resolve this problem by
loading MS-DOS low (by adding the DOS=LOW command to the CONFIG.SYS file)
or by using LOADFIX. LOADFIX ensures that a program is loaded above the
first 64K of conventional memory. For example, to ensure that a program
file named TEST.EXE is loaded above 64K, type the following:
For more information on LOADFIX, see the version 5.0 "Microsoft MS-DOS
Getting Started" guide. Or, if you are using version 6.0 or 6.2, type the
following at the MS-DOS command prompt:
REFERENCES
More information on EXEPACK.EXE and LINK.EXE can be found in the "The
MS-DOS Encyclopedia," published by Microsoft Press.
Modification Type: |
Major |
Last Reviewed: |
5/12/2003 |
Keywords: |
KB72360 |
|