Pages

Saturday, December 15, 2012

Un-hide Folders in Windows via command


Once, a friend of mine had brought to me her USB flash drive infected with viruses that made most of her files disappear.. actually she haven't lost her files.. the virus had hidden all the folders in her drive, even after cleaning all the viruses with ESET Smart Security, the folders are still hidden.. 


The issue is that viruses give the infected drive folders attributes as: SUPPER HIDDEN AND SYSTEM FILE OR READ ONLY. Although Supper Hidden folder can be viewed by the following steps, un-hide option is disabled in folder properties: 
To view hidden files:
  On windows explorer click “Tool” > “Folder Option” :

Then on “View” tab scroll down and:
  •  tick on ” Show Hidden files and folder “
  •  un-tick “Hide Protected Operating System Files( Recommended) ” 

then click on  Apply >> Ok. 

The Solution: is Commanding to un-hide the folder and files:
open command prompt.. 
     Click start > run > type : ” cmd ” then type the command:

attrib d:\*.* /d /s -h -r -s
Note: “d:” is your drive letter, You can change to specific drive you want.

voila :) Problem Solved ;P