How to add Hidden Files Toggle to Right Click in Windows 7 32/64 bit

Reading this tutorial will show you how to add ‘Show Hidden Files Toggle’ to context menu in windows 7 without displaying console(command prompt) using only a single file. For adding File Extension Toggle to right click please  go here http://www.readersstuffz.com/how-to-add-file-extension-toggle-to-right-click-in-windows-7-32-64-bit

 

To Add ‘Show/Hide Hidden Files’ to right click

First create a notepad file named sometext.txt. Open it and copy the given code to it .

—————————————————————————————————————————–


Windows Registry Editor Version 5.00

; @ECHO OFF
; CLS
; REGEDIT.EXE /S “%~F0”

[HKEY_CLASSES_ROOT\Directory\Background\shell\Hidden Files Toggle] “HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\Background\shell\Hidden Files Toggle\command] @=”wscript.exe C:\\Windows\\Show_Hidden_Files_Switch.vbs”

echo Hidden = “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden” > c:\windows\Show_Hidden_Files_Switch.vbs
echo SHidden = “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden” >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Set Sh = WScript.CreateObject(“WScript.Shell”) >> c:\windows\Show_Hidden_Files_Switch.vbs
echo St = Sh.RegRead(Hidden) >> c:\windows\Show_Hidden_Files_Switch.vbs
echo If St = 2 Then >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Sh.RegWrite Hidden, 1, “REG_DWORD” >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Sh.RegWrite SHidden, 1, “REG_DWORD” >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Else >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Sh.RegWrite Hidden, 2, “REG_DWORD” >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Sh.RegWrite SHidden, 0, “REG_DWORD” >> c:\windows\Show_Hidden_Files_Switch.vbs
echo End If >> c:\windows\Show_Hidden_Files_Switch.vbs
echo Sh.SendKeys(“{F5}”) >> c:\windows\Show_Hidden_Files_Switch.vbs

—————————————————————————————————————————–

Now save the file as Show Hidden Files Toggle.bat. The extension must be .bat. Now comes the tricky part, simply double clicking the file will not work. You will have to run the file as administrator. To run the file as Administrator

Right click on the program shortcut or program .exe file, and click on Run as administrator. (See screenshot below)

If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.

NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator’s password before the program will run as administrator.

Now Right Click ‘Show Hidden Files Toggle.bat‘ & Run as Administrator. So that’s it now you can simply right click on your desktop and toggle hidden files.(See screenshot below)

 

To Remove ‘Show Hidden Files’ from context menu

Create a notepad file sometext.txt and copy the below code to it

—————————————————————————————————————————–

Windows Registry Editor Version 5.00

; @ECHO OFF
; CLS
; REGEDIT.EXE /S “%~F0”

[-HKEY_CLASSES_ROOT\Directory\Background\shell\Hidden Files Toggle] [-HKEY_CLASSES_ROOT\Directory\Background\shell\Hidden Files Toggle\command]

DEL c:\windows\Show_Hidden_Files_Switch.vbs


—————————————————————————————————————————-

Save the file as Remove Hidden Files Toggle.bat.

Now Right Click ‘Remove Hidden Files Toggle.bat’ & Run as Administrator.

 

Easy Way

You can download the above 2 files here Hidden Files Toggle.zip

 NOTE: You must run the files as Administrator.

 


VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)
How to add Hidden Files Toggle to Right Click in Windows 7 32/64 bit, 10.0 out of 10 based on 2 ratings
Related Posts Plugin for WordPress, Blogger...

Comments

Total Views :1,536
avatar

About Gamer

Gamer