- May
- 13,802
- 211
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.
And "VS22" at the TCC prompt or the Run dialog (Win+R) starts visual studio.
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.