A simple fix to avoid multiple shortcuts for the same and to make sure it points to the correct drive (user can do strange things).

 Code:
If Exist("G:\")
	Use G:\\server\public /delete /persistent
EndIf

$desktop = ExpandEnvironmentVars(%userprofile%)
$desktop = $desktop + "\Desktop"

If Exist($desktop + "\Public on server.lnk")
	Del $desktop + "\Public on server.lnk"
EndIf
$RC = wshshortcut("Public on Server", "\\server\public")
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.