Addressing the L1084 and L1085 Errors (81883)



The information in this article applies to:

  • Microsoft LINK for MS-DOS 3.x
  • Microsoft LINK for MS-DOS 4.x
  • Microsoft LINK for MS-DOS 5.0x
  • Microsoft LINK for MS-DOS 5.1x
  • Microsoft LINK for MS-DOS 5.2
  • Microsoft LINK for MS-DOS 5.3x
  • Microsoft LINK for MS-DOS 5.5
  • Microsoft LINK for OS/2 5.0x
  • Microsoft LINK for OS/2 5.1
  • Microsoft LINK for OS/2 5.11
  • Microsoft LINK for OS/2 5.13
  • Microsoft LINK for OS/2 5.15

This article was previously published under Q81883

SYMPTOMS

An attempt to link a large program fails and Microsoft LINK generates one of the following messages:
L1084: cannot create temporary file
L1085: cannot open temporary file

CAUSE

The four most likely causes of these errors are as follows:
  1. TMP environment variable not set or set incorrectly
  2. Not enough space on drive/directory to which TMP variable is set
  3. Insufficient file handles available
  4. Terminate-and-stay-resident (TSR) programs or device drivers

RESOLUTION

The four corresponding resolutions for these causes are as follows:
  1. Perform the following four steps to verify the TMP environment variable.

    1. Use the MS-DOS SET command to determine the setting of the TMP environment variable.
    2. Verify that the TMP variable is set to a valid drive and directory.
    3. In the AUTOEXEC.BAT file, verify that no white space appears before or after the equal sign (=).
    4. In the AUTOEXEC.BAT file, verify that no function or white space follows the driver and directory
  2. Use the CHKDSK command to determine how much free space is available on the drive and directory to which the TMP environment variable points. (Note that if the TMP environment variable points to the root directory of a hard disk, the root directory can contain only 512 files.)
  3. Edit the CONFIG.SYS file and verify that it contains the FILES=<n> statement. The value of <n> should be at least 20. Verify that no white space appears before or after the equal sign.
  4. Make a backup copy of the AUTOEXEC.BAT and CONFIG.SYS files. Edit the files to remove any TSR programs and/or device drivers. Shut down the system and reboot. If this step corrects this problem, one of the TSR programs or device drivers conflicts with LINK. Load one TSR or device driver at a time to determine which one causes the conflict.
If removing Novell network software corrects this problem, then the problem may be caused by a conflict between LINK and Novell. The "Network Patches for Utilities" application note (SC0381) provides LINK version 5.13 to replace LINK version 5.1. This file has been removed from the Software Library but can be requested by calling Microsoft Product Support Services.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:kb16bitonly KB81883