Delete desktop shortcut for all users

(imported topic written by anthonymap91)

Hello everyone -

I am trying to delete a shortcut for all users.

“C:\Documents and Settings\All Users\Desktop\Configure Adaptive Log Exporter.lnk”

Anyone ever done this?

Thanks

(imported comment written by SystemAdmin)

I hand wrote this just now, please test in debugger.

Relevance 1:

(name of it = “WinXP” OR name of it = “WinXP-2003”) of operating system

Relevance 2:

exists file “C:\Documents and Settings\All Users\Desktop\Configure Adaptive Log Exporter.lnk”

Action:

delete “C:\Documents and Settings\All Users\Desktop\Configure Adaptive Log Exporter.lnk”