[REBOL] Re: creating a shortcut
From: greggirwin:mindspring at: 31-Oct-2003 3:17
Hi Ashley,
AT> on Windows2000/XP. I suppose on 95/98/ME I can check for the presence of
AT> "c:\Windows" and replace "c:\Documents and Settings\All
AT> Users\Desktop\MyApp.lnk" with "c:\Windows\Desktop\MyApp.lnk". Anyone come
AT> up with a better (more generic) approach to handle this?
If you have /Pro or the SDK, you can use the
SHGetSpecialFolderLocation or SHGetFolderPath APIs to get the location
of the desktop and other special folders.
-- Gregg