/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


VBS to delete a shortcut folder under “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\" and add new one

05/20/2014 5096 views

Hi,

 

1. I need to delete application shortcut "WRQ Reflection" under “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\" in my MST.

2. In the same script I need to add a shortcut folder "Reflection" under “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\"


Can any provide me a single script for the above 2 functions and how it is added in Custom Action?


Answer Summary:
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

3

You don't need script! Do it properly. Use the RemoveFile and Shortcut tables.

Answered 05/20/2014 by: VBScab
Red Belt

All Answers

0

It's MST! I forgot that! I manually deleted old shortcuts from shortcut table and added new ones :)

Thanks for the response.

Answered 05/21/2014 by: Scorp18
Orange Senior Belt

 
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