LINK Causes Error "Do Not Change Diskette in Drive C"

ID Number: Q34769

5.x | 3.x

MS-DOS | OS/2

Summary:

When the linker does not have enough room to work correctly in memory,

it will write to a file on disk, and will generate a warning such as the

following:

Temporary file .\xxxxxxxx has been created

Do not change diskette in drive C:

If the TMP environment variable is improperly set, for example to a

nonexistent or full subdirectory, this warning can occur. If TMP is

put onto a RAM disk that is not large enough, this message will also occur.

It has been reported that resetting TMP at the DOS prompt to the root

directory of a hard drive clears the problem if you are using FORTRAN

and linking with LINK Version 3.55.