Batch file to change the icon of a shortcut RRS feed

  • Question

  • I have shortcuts on my desktop for  a new wim I am wanting to capture. The problem is that I want to change the icon of those files using a batch file. Is that possible?
    Tuesday, April 10, 2018 8:19 PM

All replies

  • Not being so script-savvy myself, I would take a target machine with the application(s) on it, create a shortcut, then change the icon.

    Next I would move that icon link to my MDT server and test out an 'xcopy' command to copy it to the public desktop folder and see if it launches the app.

    Wednesday, April 11, 2018 4:36 PM
  • Here is a link to a Scripting Guy article where he uses a VBScript to do this.  I dont think a batch can do everything you are looking for.  I am assuming you are trying to use an icon in a dll, because this is how this script he shows works.


    Wednesday, April 11, 2018 6:33 PM
  • The shortcuts are not in a dll they are just located on a local folder on the machine.
    Wednesday, April 11, 2018 9:34 PM