Windows (.lnk) shortcuts API?

Are there any features that allow you to create shortcuts in Windows, how can you create symbolic links in Linux? I would like to be able to edit things like purpose and name, instead of having to create a new shortcut each time I want to change something due to an update.

I tried to open the file .lnkin a text editor, and it was a whole bunch of gobbelty gook. I wonder why it is half binary, like shortcuts in Linux, look like a file .ini, simple and easy to use. I’m afraid that if I go, although the data, I can upset some checksum and the shortcut will not work, so I wonder if there is any specific API that should be called to mess with these objects.

Update: I found a function to request data shortcuts MsiGetShortcutTarget() http://msdn.microsoft.com/en-us/library/windows/desktop/aa370299(v=vs.85).aspx , but so far nothing has been created to create or change shortcuts .

+5
source share
1 answer

See here for MSDN documentation on shell links.

+8
source

All Articles