Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

AppPaths entries can be aliases

May
12,965
172
I didn't know this but the name of a subkey of "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths" need not be the name of an existing app. There is no VS22.EXE here but there is this AppPaths entry.

Code:
v:\> regdir /v /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\VS22.EXE

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\VS22.EXE

   : REG_SZ : C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe

  Path : REG_SZ : C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE

And "VS22" at the TCC prompt or the Run dialog (Win+R) starts visual studio.
 
Indeed.

TinyC is started by running tcc.exe.

Which is why I have it set in App Paths as tnyc.exe
Code:
E:\Utils>regdir /v /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppPaths\tnyc.exe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\tnyc.exe
   : REG_SZ : E:\Program Files\tcc\tcc.exe

tnyc.exe does not exist as a file on my system.

Joe
 
Tcc.exe is the executable name for Take Command Console, and for Tiny C Compiler.

Tnyc.exe differentiates between the two.

I could have just used a Take Command alias instead.

Joe
 
Back
Top