Command processor is switched after calling Borland 16-bit (MS-DOS) compiler tools

Symtom: After calling Borland 16-bit compiler tools (e.g. bcc.exe), some features of the Windows command prompt, such as the Doskey display of command history, are no longer available. Scripts are interrupted. Keyboard input appears delayed. The ComSpec environment variable points to command.com instead of cmd.exe.

Software: Windows 2000.

Cause: The Borland compiler tools internally call rtm.exe. Windows 2000 regards this as a TSR and switches to command.com mode.

Solution: Include the NTCMDPROMPT option in c:\winnt\system32\config.nt.

Author: Christian d'Heureuse (chdh@inventec.ch, www.source-code.biz)
Index