I am looking for a way to read lnk shortcut target, when this one locates in public folder such as:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
I tried to use following:
And I didn't find others ways to do this. I know that I can fix it with elevating admin rights for my program, but I don't want to do it, since I can easily read the values through the Windows UI without getting an elevation prompt. So I am looking for a way programmatically read shortcut target without admin privileges.
User contributions licensed under CC BY-SA 3.0