I was looking at several sites that had similar questions, but none applied to my situation. As far as I know, vbscript is the best way to do what I'm looking for, but I have very little experience with vbscript, and don't know how to get what I want. I am using Windows 10.
Let's say that there is an example shortcut named Example
, located in F:\File\SubFile\
. Within the SubFile
folder there are more folder, F:\File\SubFile\PrgmFiles\Icons\
. Within Icons
there is one file, Icon.ico
. The shortcut Example
has the icon: Icon.ico
. However, the folder SubFile
is moved to an unknown location, *\SubFile
. The shortcut loses it's icon because the path has changed, but not the relative path to the icon.
What I want to know is how to make a script that would take it's current location, *\SubFile
, and apply Icon.ico
to the example shortcut.