How does TCC search for a command?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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'?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,383
39
Albuquerque, NM
prospero.unm.edu
#2
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.)