Many programs expect the value of COMSPEC to contain the full path and name of the current character-mode command processor, e.g.

 

c:\program files\jpsoft\tcmd28\tcc.exe

 

TCC automatically sets COMSPEC to point to TCC.EXE on startup. If you need to run a program from TCC which utilizes COMSPEC to locate a command processor to process commands or batch files that are not compatible with TCC, you may set COMSPEC to the command processor your program expects before you start it.