View Full Version : Set a shortcut in the autostart folder

07-23-2004, 10:07 AM
Hello again!

The last thread, I opened for this problem seems to be stuck. So I try once again:

I like to add a shortcut in the autostart folder. It seems that before I can do this I must read the path of this folder from the registry.

Then I have to add a shortcut with the destination path containing the value from the registry.

How can I do this?

Thank you for your help!

08-19-2005, 10:18 AM
It's a little bit late. But try this.

AddFolderIcon(FOLDER_STARTUP, "Your Name", szExePath, "", "", 0, "", REPLACE);