I once had a similar problem in the days of 4dos, the memory space for the path is much larger in TCC than in CMD, if you have a long path CMD will concatinate it and whatever is at the end of the path is lost. Do you have a long path?
My path:
b:\program files\jpsoft\tccle13x64>path
PATH=b:\GAMS\win64\24_0;; b:\Program Files\JPSoft\TCCLE13x64; C:\Program Files (x86)\AMD APP\bin\x86_64; C:\Program F
iles (x86)\NVIDIA Corporation\PhysX\Common; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\Sy
stem32\WindowsPowerShell\v1.0\; C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\; C:\Program Files (x86)\Co
mmon Files\Roxio Shared\10.0\DLLShared\; C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; C:\Program Files
(x86)\Kensington\TrackballWorks; b:\LF9573\License; B:\LF9573\Bin