Win 7 adds commands to show hidden files into the right-click menu


A friend asked in the help area how to add "show hidden files and system files" to the right-click menu, just found the method, share it, hope to help friends in need.

The method is very simple,

Step 1 Open Notepad and copy the following code: Dim WSHShell

Set WSHShell = WScript.CreateObject("WScript.Shell")

sTitle1 = "SSH=0"

sTitle2 = "SSH=1"

if WSHShell.RegRead("HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden") = 1 then

WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden", "0", "REG_DWord"

WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden", "2", "REG_DWORD"

WSHShell.SendKeys "{F5}+{F10 }e"

'WSHShell.Popup "Poof, they're gone!", 1, sTitle1, vbInformation


WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedShowSuperHidden", "1 ", "REG_DWORD"

WSHShell.RegWrite "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHidden", "1", "REG_DWORD"

WSHShell.SendKeys "{F5}+{F10}e"

'WSHShell.Popup "Here they are!", 1, sTitle2, vbInformation

end if

Set WSHShell = Nothing


Save the code as SuperHidden.vbs file (choose save-format Select all files, enter the file name SuperHidden.vbs), and copy it to the Windows directory (or any directory)

Step2 Create a new document file and enter the following code: REGEDIT4

[ ,null,null,3],HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersSuperHidden]



Copyright © Windows knowledge All Rights Reserved