Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a zip file containing Eclipse workspace. When I unzip it all the extracted folders have read only attribute set to true. When I uncheck "read only" in properties dialog and click apply the attribute seems to be removed. But when I reopen properties dialog it is there again.

Eclipse will not accept folder that is read only as a workspace. I need it to be removed.

Some points I'd like to make:

  • Only folders have read only attribute, files don't.
  • I use Windows 7, for unzipping I have used 7zip.
  • I have tryied to remove the attribute from command line like this: attrib -r -s c:\pathToFolder. It did not work.
share|improve this question

You need to tell ATTRIB to process directories. Also, if it is every folder in your workspace you should make ATTRIB recursive:

ATTRIB -R "C:\pathToFile" /S /D

/D specifies to process folders and /S processes all subfolders.

Note that the switches have to follow the path.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .