FileGetShortcut gets the path from a lnk file in an unreliable way and in some edge cases you get the wrong path.
Using winmgmts the process is more robust and makes sure to get the correct path even if theres an Executable vs OS mismatch (running 32bit files on 64bit OS)
FileGetShortcut gets the path from a lnk file in an unreliable way and in some edge cases you get the wrong path. Using winmgmts the process is more robust and makes sure to get the correct path even if theres an Executable vs OS mismatch (running 32bit files on 64bit OS)