Home > Commands A-M > Commands L

LOADFIX


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Ensures that a program is loaded above the first 64K of conventional memory, and runs the program.

This was used to fix a problem, "Packed file corrupt", in some .EXE programs when DOS was loaded high (DOS=HIGH) on 286+ computers.


Syntax

LOADFIX [drive:][path]filename [program-parameters]


Parameters
drive: ( path v5.0 Win95 ONLY NT3.5)
Specifies the drive and directory of the program.
filename (v5.0 Win95 ONLY NT3.5)
Specifies the name of the program.
program-parameters (v5.0 Win95 ONLY NT3.5)
Specifies any of the program's parameters that you want to use.

Switches

none.


Related

none.


Notes
Packed file corrupt

Some programs will display the "Packed file corrupt" message when all or a portion of the program has been loaded in the first 64K of conventional memory and cannot run successfully. This error is most likely to occur when you load device drivers into the upper memory area, thereby freeing more of the first 64K of conventional memory. If the operating system displays this message, use the LOADFIX command to ensure that a program is loaded above the first 64K of conventional memory.

To use the LOADFIX command, include it at the beginning of the command that starts the program.


Examples

To load a program named MYAPP.EXE (in the APPS directory of drive C) and use the /C parameter (for example, to load the program in character mode), type at the command prompt or include the command in your AUTOEXEC.BAT file:

    LOADFIX C:\APPS\MYAPP.EXE /C

Errorlevels

none.


Availability
External
DOS
v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1
Windows
Win95
Windows NT
NT3.5 NT4 NT2000