Microsoft KB Archive/98561

{|
 * width="100%"|

PRB: DX1350 or DX1270 Errors Caused by Environment Variable

 * }

Q98561

-

The information in this article applies to:


 * Microsoft Visual C++, version 1.0
 * Microsoft FORTRAN PowerStation for MS-DOS, version 1.0
 * Microsoft Macro Assembler (MASM) for MS-DOS, versions 6.1 and 6.1a
 * Microsoft LINK for MS-DOS, version 5.5
 * Microsoft NMAKE for MS-DOS, version 1.3

-

SYMPTOMS
An attempt to run a Microsoft compiler, assembler, or utility that uses the DOSXNT MS-DOS extender may fail and generate one of the following messages:

  DOSXNT : fatal error DX1350: cannot load program : file not found Additional info: &quot;xxx&quot;

DOSXNT : fatal error DX1270: command line error : unknown command switch xxx Info: Error in switch xxx of environment variable TNT (xxx)

DOSXNT : fatal error DX1270: command line error : unknown command switch xxx Info: Error in switch xxx of environment variable GOTNT (xxx)

CAUSE
The DOSXNT MS-DOS extender searches the MS-DOS environment variables for the strings &quot;TNT,&quot; &quot;GOTNT,&quot; or any prefix of &quot;TNT&quot; or &quot;GOTNT&quot;. Therefore, the following environment variables can cause the errors above:

  G, GO, GOT, GOTN, GOTNT, T, TN, TNT To determine if any of these environment variables is installed, enter &quot;SET&quot; (without quotation marks) at the MS-DOS command prompt.

RESOLUTION
Use the MS-DOS SET command to remove the environment variable. For more information on this technique, please see below.

MORE INFORMATION
For a list of MS-DOS environment variables, enter the command &quot;SET&quot; (without quotation marks) at the MS-DOS prompt. Each environment variable is listed in the following form:

  = To remove an environment variable, use the SET command to assign the variable to a null string. For example, to remove the TNT variable, enter the following at the MS-DOS prompt:

set tnt=

Do not specify any characters after the equals sign.

In Microsoft Windows, an environment variable set in an MS-DOS window is valid only in that window. To remove a variable that causes the problems above, you must exit Windows first, then enter the SET command above. Because the offending variable is most likely set in your AUTOEXEC.BAT file, you should edit that file to remove (or comment out) the offending SET statement.

Additional query words: 1.00 1.30 5.50 6.10 6.10a 8.00

Keywords : kb16bitonly kbprb

Issue type : kbprb

Technology : kbVCsearch kbAudDeveloper kbvc100