/build/static/layout/Breadcrumb_cap_w.png

Script to delete all desktop shortcuts other than Windows ones?

We have a ton of post-install tasks that I want to remove desktop shortcuts for. To make it simple, instead of calling out to delete each individual one, I was wondering if there was a script to delete all public desktop shortcuts other than Windows ones (Recyling Bin mainly).

 

Thanks :)


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 11 years ago
Red Belt
1

You should be able to delete c:\users\public\desktop\*.*  or c:\users\public\desktop\*.lnk


Comments:
  • Thanks - seems simple enough - I'll give it a try :) - sfigg 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ