How does TCC search for a command?

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
I enter 'devenv' and TCC brings up Visual Studio 2008.

But the location of 'devenv' isn't in the Path environment variable, and it doesn't work if I bring up a 'cmd' prompt. How does TCC know where to look to find 'devenv'?
Take a look at your registry, under "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths". (TCC doesn't create these -- the one you're looking at was probably created by the Visual Studio installer -- but it does know how to use them.)