Some applications does not remove link after uninstall. Application is uninstalled but link remains pointing to nowhere. I need it to deploy via SCCM 2012. Investigations show that cmd files wont work so I made it in vbs. Here is my script file as far as I search the sctipts I found does not work for me so I put together vbs script if file exists, delete it.
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists("C:\Users\Public\Desktop\E-ME.lnk") Then
fso.DeleteFile("C:\Users\Public\Desktop\E-ME.lnk")
Else WScript.Quit
End If