I have a shortcut on my desktop who's icon I want to use on another shortcut. I see how to set the icon (from properties). However, I don't know the location of the icon. How can I figure out where the icon is located that I want to use?

Here is a screenshot of the properties for the shortcut (Web URL). You can see that if I click the "change icon" button it lists all of the standard available icons but does not point to the icon in the properties windows (Red "A" with black background.)

enter image description here


The information is stored in .url file, which is just a simple text file, in the line "IconFile".

I tried opening an .url file in notepad, but it downloaded the corresponding website instead. So I went via the command line:

  1. Open a "Command Prompt" by typing "cmd" in the start search and selecting "Command Prompt"
  2. Navigate to the location of your .lnk or .url file
  3. Links that are visible on all users' desktops are stored in "C:\Users\Public\Desktop"
  4. Use "type example.url" to show the content of the file.

For example you would find the icon of this .url file in:


Sample .url content:

  • If you place a shortcut to Notepad in your SendTo folder. you can use that to quickly view the text of a .url file. – Keith Miller Jan 29 '20 at 9:35

Right click on the desktop shortcut and click Properties, Shortcut tab and Target. That is where the shortcut points to.

For a menu item, right click on the menu item, More, Open File location and that is another route to shortcut.

You can also find the major Windows 10 icons in c:\windows\system32\shell32.DLL


Use the Change Icon... Button and then the Look for Icons in this File: Edit Box. Using the Browse... Button, you can locate the File that contains the Icons that you want to set.

Setting an Icon for a Short-Cut

For Web-Sites, you can use the Change Icon... Button and the Browse... Button as well.

Setting an Icon for a Web-Site

  • There is no "Shortcut" tab. Only "General", "Web Document", "Security", "Details", "Previous Versions". This is basically a link to a open a browser and a web site. – GregH Dec 6 '19 at 16:40
  • 2
    It would really help us if you could insert a little Screen-Shot of your own Situation, @GregH, so that we reduce the number of imagined things. If it is possible, then at least the General Tab and the Web Document Tab would be interesting to be seen. – user1018743 Dec 6 '19 at 16:46
  • There is a Shortcut tab in my own description above and also in hte screen shot above. So if that is not what you need then please edit your question to provide screen shot clarity of your own – John Dec 6 '19 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.