INF: Possible Causes for L1084 and L1085

ID Number: Q81883

3.x 4.x 5.0x 5.1x 5.20 | 5.0x 5.1x

MS-DOS | OS/2

Summary:

When linking a large program, the linker may need to create temporary

files. During this process, the following errors may be generated:

L1084: cannot create temporary file

-or-

L1085: cannot open temporary file

More Information:

These errors can be caused by one or more of the following:

- TMP environment variable not set or incorrectly set

View the setting of TMP with the MS-DOS SET command.

Make sure the TMP variable is set to a valid drive/directory.

Make sure there are no spaces before or after the equal sign.

Make sure there is no punctuation or white space trailing the

drive/directory.

Retype the line if unsure about trailing white space.

- Not enough space on drive/directory to which TMP variable is set

Check the total free disk space by using the CHKDSK command (note

that there can be only 512 files in the root directory.)

- Insufficient file handles

Make sure that statement FILES=<n> is in the CONFIG.SYS file. The

<n> should be at least 20 and there should be no spaces before or

after the equal sign.

- TSRs or device drivers

Remove any TSR (terminate-and-stay-resident) programs and/or device

drivers that are loaded in the CONFIG.SYS and AUTOEXEC.BAT files

and reboot. If this solves the problem, then there is a conflict

between LINK and one of the TSRs or device drivers. Reload them one

at a time in order to determine which one it is.

If removal of Novell network software solves the problem, then the

problem may be a conflict between LINK and Novell. The "Network

Patches for Utilities" application note provides LINK version 5.13

to replace LINK version 5.1 and can be found in the Software/Data

Library on CompuServe by searching on the keyword SC0381. The

patches can also be obtained by calling Microsoft Product Support

Services.

Additional reference words: 3.0 3.00 3.01 3.02 3.04 3.05 3.06 3.51

3.55 3.6 3.60 3.61 3.64 3.65 3.69 4.06 4.07 4.1 4.10 5.01.2 5.01.20

5.01.21 5.02 5.03 5.05 5.1 5.10 5.11 5.13 5.15 5.2 5.20