How do you get the directory target of a shortcut folder? I\'ve search everywhere and only finds target of shortcut file.
All file shortcuts have a .lnk file extension you can check for. Using a string for example, you could use string.EndsWith(".lnk") as a filter.
All URL shortcuts have a .url file extension, so you will need to account for those as well if needed.