Dear,

When the location is different from "%userprofile%" setting we advise to use the actual
location of your desktop by reading desktop setting.
code:
  $ikey="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
IF (Exist($ikey) = 0)
$ivalue=ReadValue($ikey, "Desktop")
$ivalue=ExpandEnvironmentVars($ivalue)
IF (Substr($ivalue,len($ivalue),1) <> "\")
$ivalue=$ivalue+"\"
ENDIF
;
IF Exist($ivalue+"Syteline.lnk") = 1
DEL $ivalue+"Syteline.lnk"
IF (@error <> 0)
? "KIX-DEL: error @error (@serror)"
ENDIF
ENDIF
ENDIF

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA