in order to make this work, you first have to go to Windows Explorer and clear the checkbox in 'Tools->Folder Options->View->Advanced Settings' which states 'Hide protected operating system files', so all files would be displayed if you toggle 'hidden files'.
You might have to run the script two times if you start it the first time to get the variable set right....
showHidden=0 #H:: WinGetActiveTitle, WinTitle WinGetClass, WinClass, %WinTitle% If WinClass <> CabinetWClass If WinClass <> ExploreWClass Return Send, !T Sleep, 100 Send, o WinWaitActive, Folder Options,,5 if ErrorLevel = 1 Return Send, ^{Tab} Sleep, 50 Send, {Tab}{Tab} Sleep, 50 If showHidden = 0 { showHidden = 1 Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down} } Else { showHidden = 0 Send, {Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down} } sleep, 50 Send, {Space} Send, {Tab}{Tab}{Enter} Return
Cheers, Thorsten