Jump to content

Refresh icons


Recommended Posts

By google translator


Hi. sorry my English.

When I attach a file type to my program or icon of the associated file does not change. I would like to understand how the setup program associates files and updates all the files at the same time without restarting explorer.exe.
Edited by PedroWarlock
Link to comment
Share on other sites

PedroWarlock,

With a simple google search  "assoc autoit site:www.autoitscript.com"
here is one hit

To refresh for changes without restarting explorer.exe you can use:

_WinAPI_PostMessage($HWND_BROADCAST, $WM_COMMAND, 41504, Null)

or

_WinAPI_ShellChangeNotify($SHCNE_ASSOCCHANGED, $SHCNF_FLUSH)

whichever works for you

Edited by Deye
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...