Bug in shortcuts on windows seven? - Change icon not working


  1. Posts : 1
    windows 7
       #1

    Bug in shortcuts on windows seven? - Change icon not working


    [Note: windows 7 ultimate 64 bits]

    For example, when I click "change icon" in the firefox shortcut properties, I get the message "Windows can't find the file %programfiles%\Mozilla Firefox\firefox.exe.

    I think this is because %programfiles% resolves to c:\program files and not to C:\Program Files (x86). The question is, what to do about it?
      My Computer


  2. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Mark, and welcome to Seven Forums

    Does the shortcut work otherwise?

    If so, then you should be able to click on OK for the error message, then browse to the correct location of the exe file to be able to select the correct icon.

    Shortcut - Change Icon

    Hope this helps,
    Shawn
      My Computer


  3. Posts : 1
    Professional x64
       #3

    Same problem here


    This problem seems common as a a simple Google for "Change Icon Windows 64 can't find the file %ProgramFiles%" reveals. Alas a not a single solution have I found yet., and Mark alas no, it is not possible to browse to the correct location of the exe file and select the correct icon and have it stick. That is, I can set the correct icon like this but it's lost immediately and the icon in the Windows task bar is again the generic "not found" icon.

    This happens with only one of the programs I'm using of a great many, Sage ACT! but it isn't per se the fault of ACT! given how many others find this happening with other software. It does of course appear to be related to particular thing many software writers have done in past that stopped working on Windows 7 64 bit.

    What is clear is that my exe is under C:\Program Files (x86) and whenever I set it to the exe there, and close when I try again I see it's pointing to the same path under C:\Program Files.

    Something is awry in the expansion of %AppFolder% according to kraigyb here:

    Wrong icon path for shortcuts in 64bit os

    and I am guessing individual software vendors can fix it, or Microsoft can fix it with a Windows update but in the mean time is there a work around to help afflicted souls?
      My Computer


  4. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #4

    Twitchy


    Did you reboot your PC after changing the icon?

    Occasionally I have experienced something similar to the problem you describe.

    I have changed an icon and it appears in the "Properties" window, but the actual icon doesn't change.
    Re-checking the "Properties" window, the correct icon is shown.
    After a reboot, the icon appears correctly (on my PC).

    Example
    I have created a batch file that points to a VB script.
    The script creates a selection menu for my Firefox Profiles.
    It also runs CCleaner when I close Firefox (before returning to the menu).
    Bug in shortcuts on windows seven? - Change icon not working-ff_batch_file.png
    Attaching a shortcut to the Taskbar was a battle.
    When I added my custom icon, it wouldn't appear on the Taskbar.
    After a reboot it started behaving itself.

    Have you tried the "Icon Cache - Rebuild" tutorial?
    Icon Cache - Rebuild

    Mark S said:
    For example, when I click "change icon" in the firefox shortcut properties, I get the message "Windows can't find the file %programfiles%\Mozilla Firefox\firefox.exe.

    I think this is because %programfiles% resolves to c:\program files and not to C:\Program Files (x86). The question is, what to do about it?
    Have you tried reinstalling Firefox?
    On my PC, the path shows correctly and the Firefox icon set appears.
    Last edited by lehnerus2000; 07 Oct 2012 at 21:04. Reason: Quote Added
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:49.
Find Us