Anyone know the fix for creating a shortcut to a folder. According to the article at the link below, all you need to do is change the first parameter to CoCreateInstance to CLSID_FolderShortcut and it will create a folder shortcut instead of a file shortcut. This isn't the case, it does create the shortcut but it doesn't work.
When you view the properties of the shortcut, "Target type" is empty, it should be "File folder". I am trying this on Windows 7. Creating file shortcuts works fine using the sample code.
http://msdn.microsoft.com/en-us/library/bb776891(VS.85).aspx#Shellink_Creating_Shortcut