well, it scans all link files in desktop folder and if it links to the pointed place it deletes the link.
anyway, if you know the name of the link-file you just need to specify it and use my first sample.
it reads from registry the place of users desktop folder and deletes the file from there:
code:
;your filename here:
$file="mydrive.lnk"
;the place in reg for folder info:
$desktop=readvalue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop")
del $desktop+"\$file"

_________________________
!

download KiXnet