Microsoft KB Archive/34769

= PRB: LINK Error &quot;Do Not Change Diskette in Drive C&quot; =

Article ID: 34769

Article Last Modified on 9/30/2003

-

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.

Additional query words: 3.x 5.01.20 5.01.21 5.03 5.05 5.10 5.13 5.15 5.30 5.31.009 5.50 5.60

Keywords: kb16bitonly KB34769

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.