problem with icon for shortcut
Hi,
I've successfully created a shortcut on my desktop and included an icon to use:
CreateShortCut "$DESKTOP\ISU DiagnosticPathfinder.lnk" \
"C:\Program Files\Java Web Start\javaws.exe" \
'"$INSTDIR\DMDiagnosticPathfinder\AMDiagnosticPathfinder.jnlp"' \
'"$INSTDIR\DMDiagnosticPathfinder\RBDP.gif.ico"' \
0
The problem is that when the shortcut is created, one of the Windows generic icons is displayed instead of the one I specified. When I right click on the shortcut and look at the shortcut properties and select "Change Icon", the icon that is listed is the correct one, but that one is not displayed until I click "OK" within the "Change Icon" dialog.
Any suggestions on how to eliminate this behavior and get it to automatically display the correct icon?
BTW, my OS is Windows 2000.
THanks,
Pam