HKCU\...\App Paths

#5
It is accounted for in Win7.
The fact it does not exist by default changes nothing.
A lot of registry keys do not exist by default.
"It is accounted for." What does that mean?

And it's existence is significant. Ordinary users cannot write to "HKLM\...\App Paths", but they can write to "HKCU\...\App Paths". TCC already looks in "HKLM\...\App Paths" when resolving EXE names. I suspect the next version will also look in "HKCU\...\App Paths", giving the user the advantage of being able to find more EXEs which are not in %PATH.
 
Aug 23, 2010
267
2
#8
What you mean by "also"? I understand you less and less.
"App Paths" is no magic, it's a shell defined registry key, that is searched by shell functions and conforming applications. F.e. Far manager.
Code:
reg QUERY "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\NBTExplorer.exe"

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\NBTExplorer.exe
    (по умолчанию)    REG_SZ    C:\Games\Minecraft\.tools\NBTExplorer\NBTExplorer.exe

[C:\dev\temp]$ tcc /C nbtexplorer.exe
TCC: Unknown command "nbtexplorer.exe"

[C:\dev\temp]$ nbtexplorer.exe
// application started normally.
[C:\dev\temp]$