/bundles/itninjaweb/img/Breadcrumb_cap_w.png

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:
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

3

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

Answered 05/20/2014 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity

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

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share