Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

[How To] Toggle Hidden files view in Windows Explorer


  • Please log in to reply
1 reply to this topic
SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005

How to Toggle Hidden files view in Windows Explorer?
http://www.autohotke...p?p=53792#53792

Credits:

Originally posted by thinkstorm @ Toggle Hidden Files
Calabaza posted ( @ Toggle Hidden Files ) a better way but could not find a way to update Windows Explorer View.

Here is a solution with PostMessage

The info is stored in Windows Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden

Use RegWrite to toggle the value between 1 & 2.
Use PostMessage to refresh the explorer window.

Msg = 0x111 and wParam = 41504 ( Win9x )
Msg = 0x111 and wParam = 28931 ( Win2k & XP )

You may download & try the example : Toggle_Hidden_Files_View.ahk
View the code : Toggle_Hidden_Files_View.ahk.txt



rbrtryn
  • Members
  • 1177 posts
  • Last active: Sep 11 2013 08:04 PM
  • Joined: 22 Jun 2011
For Windows Vista and windows 7 Microsoft went back to using the same wParam that they had used in Win9x:

Msg = 0x111 and wParam = 41504 ( Win Vista, Win 7 )

My Scripts are written for the latest released version of AutoHotkey.

Need a secure, accessible place to backup your stuff? Use Dropbox!