How to force Explorer to refresh?

Get help with using AutoHotkey and its commands and hotkeys
newbieforever
Posts: 400
Joined: 24 Aug 2016, 03:34

How to force Explorer to refresh?

14 May 2019, 09:09

Hi!

In some situations (e.g. a timestamp of a file is changed by an AHK script...) Windows Explorer does not show accurate timestamps or icons of files. Even applaying F5 for refresh does not help in such situations.

I am not sure but maybe this updates the file icons: DllCall("Shell32\SHChangeNotify", Int,0x8000000, UInt,0, Ptr,0, Ptr,0).

Is there a way to force a real refresh resulting in updated timestamps?

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], flyingDman, kczx3, TAC109 and 211 guests