title: Windows Show / hide hidden files / folder - at single click - is it possible using batch file - or at single click?
body: <p>To show/hide hidden files/folders in windows OSes like XP, Vista or Seven, we have to...</p>
  
  <ol>
  <li>go to explorer</li>
  <li>select tools menu</li>
  <li>folder option</li>
  <li>view tab</li>
  <li>select radio button to show/hide hidden files/filers</li>
  </ol>
  
  <p>Is there any dos command/batch script to do this? I just want to make it done using single click(whether it is .bat file or anything).</p>
  
  <p>I searched and found an answer for the files affected by viruses - <a href="https://stackoverflow.com/questions/8095002/windows-batch-script-to-unhide-files-hidden-by-virus">Windows batch script to unhide files hidden by virus</a> - but it is specific for a single drive user has entered- and that too, for affected by virus.</p>
  
  <p>I also found the change needed in registry for this.</p>
  
  <pre><code>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
  "Hidden"=dword:00000001
  "HideFileExt"=dword:00000000
  </code></pre>
  
  <p>I am new to registry editing thing. So I don't know how to do this stuff.<br>
  So, how can I make it happen - at a single click - I can enable/disable viewing hidden files and folders?</p>