Sunday, July 22, 2012

How to hide files/folder using cmd...


Steps:-
  • Go to run and type “cmd“[without quotes]
  • Press ok
  • Type **attrib c:\xyz\abcd +h +s**[without **]
  • hit enter
  • This will hide folder abcd located at c:\xyz
  • To unhide the folder just change the “+” sign with “-”
  • **attrib c:\xyz\abcd -h -s**
  • hit enter
Explanation:
ATTRIB = This command allows the user to change the properties of a file/folder
  • c:\xyz\abcd = Path of the folder.Change this with the path of the folder you want to hide
  • [+ ,-] = “+” sign adds the attribute to the file while “-” removes the attribute from the file
  • h = Hidden file attribute
  • s = System file attribute

No comments:

Post a Comment