This is a small tutorial.. (Actually I Learnt It Recently)
In This post i will show u how to toggle between "Show/Hide hidden files in the Right click CONTEXT MENU" and remove the context from Right-Click ...
01) 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 ...
-----------------------------------------------------------------------------
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) -----------------------------------------------------------------------
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 from the Attachments
NOTE: You must run the files as Administrator
In This post i will show u how to toggle between "Show/Hide hidden files in the Right click CONTEXT MENU" and remove the context from Right-Click ...
01) 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 ...
-----------------------------------------------------------------------------
Quote:
Windows Registry Editor Version 5.00 ; @ECHO OFF ; CLS ; REGEDIT.EXE /S “%~F0″ [HKEY_CLASSES_ROOT\Directory\Background\shell\Hidde n Files Toggle] “HasLUAShield”=”" [HKEY_CLASSES_ROOT\Directory\Background\shell\Hidde n 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 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) -----------------------------------------------------------------------
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 from the Attachments
NOTE: You must run the files as Administrator