Microsoft KB Archive/41583

= LINK Options Can Be Specified in AUTOEXEC.BAT with SET LINK= =

Article ID: 41583

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 3.0
 * Microsoft QuickBasic 4.0
 * Microsoft QuickBASIC 4.0b
 * Microsoft QuickBasic 4.5 for MS-DOS
 * Microsoft BASIC Compiler 6.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Professional Development System 7.0

-



This article was previously published under Q41583



SUMMARY
LINK options can be set in your AUTOEXEC.BAT file (or in the MS-DOS command line) as an environment variable with the statement &quot;SET LINK=options&quot;. The following is an example SET LINK=/NOE /NOI /E where /NOE is NOEXTDICTIONARY, /NOI is NOIGNORECASE, /E is EXEPACK.

This behavior can cause some unexpected errors to occur because you might forget what LINK switches are SET in your AUTOEXEC.BAT file.



MORE INFORMATION
If the /E [XEPACK] switch is SET within your AUTOEXEC.BAT FILE and you attempt to create a Quick library with the /Q [UICKLIB] switch, the following linker error is generated: L1003   /QUICKLIB, /EXEPACK incompatible To make Quick libraries with /E [XEPACK] set as a LINK option, use /NOP [ACKCODE] to turn /E [XEPACK] off.

Additional query words: QuickBas BasicCom

Keywords: KB41583

-

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

© Microsoft Corporation. All rights reserved.