Thursday, March 22, 2012

How To: Enable Hidden attribute in folder options

To enable to change folder/file hidden attribute in properties option again:   

1. Goto command prompt

  • Click start -> run
  • Type cmd and press enter

2. Change your working directory to driver letter of USB drive, for example type H:

  • In the command window that opens type "cd [drivename]" and press enter
  • Type "dir" and press enter

3. Type the command "attrib /s /d -s -h [file/folder name]" and press enter or type

Where,
-r will clear the Read Only Attribute
-s will clear the System file Attribute
-h will clear the Hidden file Attribute
/s will apply above command to all files in working directory
/d will apply above command to all folders in working directory
[foldername] is the name of the folder without the square brackets)




9 comments:

  1. THANKS BUDDY...

    ReplyDelete
  2. showing. Parameter format not correct -
    and will it work if I have copied files to my hard drive ?? ( by enabling protected operating system files)

    ReplyDelete
    Replies
    1. 1. Open Command Prompt.
      2. Go to direction you that included hidden files using [cd command]
      3. Run above command as it is "attrib /s /d -s -h"

      Delete