Something like this:
 Code:
$sToDelete=%userprofile% +"Application Data\Microsoft\Internet  Explorer\Quick Launch\test1"

IF Exist($sToDelete)
   DEL $sToDelete
   IF @ERROR "Cannot delete '"+$sToDelete+"'"+@CRLF+"Reason: ["+@ERROR+"] "+@SERROR+@CRLF
ELSE 
   MESSAGEBOX ("Have a nice day.")
ENDIF