Subj : Re: Problems using Turbo Link 16 Bit from the Windows 2000 console. To : borland.public.cpp.borlandcpp From : Jack Klein Date : Thu Jan 06 2005 10:38 pm Peter Wlodarczyk wrote: > I am using Turbo Link Version 7.1.32.2 (Came with Borland C++ 5.01) to compile 16 bit applications for DOS from the Windows 2000 sp4 command console. > > If I type the command tlink it executes, I can event get it link executables that work, but it causes a strange effect on the windows console. > > Here is a session using the windows command console: > > Microsoft Windows 2000 [Version 5.00.2195] > (C) Copyright 1985-2000 Microsoft Corp. > > c:\>cd temp > > C:\temp>c:\bc5\bin\tlink.exe > Turbo Link Version 7.1.32.2. Copyright (c) 1987, 1996 Borland International > Syntax: TLINK objfiles, exefile, mapfile, libfiles, deffile, resfiles > > C:\TEMP> > > As you can see, I get a prompt with the directory name now capitalised. The command history also doesn't work any more and typing characters is slow. > > This in itself wouldn't bother me, but if I use it from within a makefile, the make stops execution. This is ok if the link is the last step, as the executable still gets created but I can't have build multiple executables in one step. > > Any ideas? > > Thanks This is just a guess, but it sounds like that tlink is somehow invoking a copy of the old MS-DOS command processor, command.com. Try typing "exit" at that prompt, and see if it drops you back into the Windows command processor cmd.exe. You'll know because your prompt will go back to lower case and your command history will be back. If that's the case, you can try adding an exit command to the makefile, if the make utility you use can invoke built-in shell commands. .