PRB: LINK Error "Do Not Change Diskette in Drive C" (34769)



The information in this article applies to:

  • Microsoft LINK for MS-DOS 3.x
  • Microsoft LINK for MS-DOS 5.01.20
  • Microsoft LINK for MS-DOS 5.01.21
  • Microsoft LINK for MS-DOS 5.03
  • Microsoft LINK for MS-DOS 5.05
  • Microsoft LINK for MS-DOS 5.1
  • Microsoft LINK for MS-DOS 5.13
  • Microsoft LINK for MS-DOS 5.15
  • Microsoft LINK for MS-DOS 5.3
  • Microsoft LINK for MS-DOS 5.31.009
  • Microsoft LINK for MS-DOS 5.5
  • Microsoft LINK for MS-DOS 5.6

This article was previously published under Q34769

SYMPTOMS

An attempt to link an application fails and Microsoft LINK generates the following message:
Temporary file .\xxxxxxxx has been created
Do not change diskette in drive C:

CAUSE

Not enough memory is available to link the application. The message appears when the linker generates a file on disk and the disk does not have enough room to hold the file. This situation occurs when the TMP environment variable does not exist, when it specifies a nonexistent or full directory, and when the disk that contains the directory is almost full.

If you are compiling an application with Microsoft FORTRAN and linking with LINK version 3.55, reset the TMP environment variable to point to the root directory of a hard disk. This procedure may clear the error. If the TMP environment variable is set to a ramdrive or a network drive, setting it to point to a subdirectory on a hard disk may help.

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:kb16bitonly KB34769