Hi Guys,
Does anybody know how to write out a windows LNK file via code in Lazarus?
I've done this before through Delphi, but the same source is not working.

What I need is to write out a link/shortcut to my program's exe in the user startup folder (
tried the registry route, but security policies is proving to be problematic).

I know how to get to the UserFolder just fine, just to write out the lnk file is a bit tricky. Any help will be greatly appreciated.
Thanks.
