This is curious, some startmenu items seems to resolve to a “friendly” name that’s not contained in the actual .lnk file. For example:
“c:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\dfrgui.lnk” is displayed in explorer as “Disk Defragmenter”, the actual shortcut file doesn’t contain the real name either but links to the exe “C:\Windows\system32\dfrgui.exe””
Is this a Win32 API thing or is there a simpler way to get the “friendly” name of a file/start menu item?
There’s a hidden file in that folder named desktop.ini. This is the content on my machine:
This is the relevant line:
The -103 value indicates the string is read from string resource #103 in dfrgui.exe. In Visual Studio, I used File + Open + File, selecting c:\windows\system32\dfrgui.exe. Opened “String table” and double-clicked it:
This may well be different on your machine, depending on where you live. What I showed is for the English version of Win7.