The property to show/hide hidden files is managed in the registry, so you would simply need a .reg file that simply toggles this property. Here is how you do it through registry: Type “regedit“, then press “Enter“. Navigate to the following location: HKEY_CURRENT_USER --> Software --> Microsoft --> Windows --> CurrentVersion --> Explorer --> Advanced Set the value for “Hidden” to ...

Understanding the Context

Is there a command on the Windows command-line that can list hidden folders? I've tried dir -a:dh but that doesn't work for me.