Cannot remove "Read-only"

  • tmodis
  • Novice
  • Novice
  • tmodis
  • Posts: 25
  • Loc: Lugano, Switzerland

Post 3+ Months Ago

In Windows XP Home I cannot change the "Read-only" on my folders. The little square is gray with a check mark; if I clear it, next time I look I find back in.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

The Read Only attribute for folders is ignored by Windows so it shows up as a gray check mark, this is by design.

http://support.microsoft.com/?id=326549

There is a workaround listed in the article.
  • tmodis
  • Novice
  • Novice
  • tmodis
  • Posts: 25
  • Loc: Lugano, Switzerland

Post 3+ Months Ago

Thanks for the tip, but it does not help. When I try to change the attributes in the command prompt, it responds always with "Not resetting..." whatever I may rty to reset.
  • tmodis
  • Novice
  • Novice
  • tmodis
  • Posts: 25
  • Loc: Lugano, Switzerland

Post 3+ Months Ago

It also tells me that the parameter format
"attrib -r +s C:\foldername" is not correct
What format should I use?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

Just because Windows Explorer shows the attribute as read only doesn't mean that it is. Folders are not read only by default. This can be proven by running the attrib command in the command window. For example, I have a folder on my C:\ drive called Alaron. If I run this command from the prompt attrib /s /d (this shows the attributes of all files and folders and subdirectories. Note - the /s processes all files and subdirectory files and the /d processes folders as well) I get something like this:

Quote:
A C:\Alaron\veolia\LogoVeolia.gif
A C:\Alaron\veolia\MVC-001F.JPG
A C:\Alaron\veolia\MVC-002F.JPG
A C:\Alaron\veolia\MVC-003F.JPG
A C:\Alaron\veolia\MVC-004F.JPG
C:\Alaron\veolia\sigs
A SH C:\Alaron\veolia\Thumbs.db
A C:\Alaron\Alarondescriptiononyx.doc
A C:\Alaron\alaronLayout05.psd
C:\Alaron\Animations
C:\Alaron\CD
C:\Alaron\CYManifests
C:\Alaron\Flash Experiments
A C:\Alaron\footerCopyright.jpg
C:\Alaron\Julian's Project
C:\Alaron\NewScottsPictures
C:\Alaron\OrigCDPowerPointPresentation
C:\Alaron\Sgnatures
A SH C:\Alaron\Thumbs.db
C:\Alaron\Tom
C:\Alaron\veolia


The last 12 lines are all folders in the folder Alaron. To the left of the C:\ on each line is a display of the attributes that are in effect and are displayed in the order of A S H R
A = Archive Bit Set
R = Read Only
S = System
H = Hidden

Note that many have the Archive Attribute (A) and this is common.
A few show as system and Hidden. Again, Only the attributes that are in effect are displayed. So as you can see none of my 12 folders listed show as Read only, yet all 12 show the Read Only attribute in Windows Explorer.

To further illustrate if I ran the command attrib +r /s /d c:\Alaron (this sets all files folders and subdirectories as read only First of all I get this:



Quote:
C:\Alaron>attrib +r /s /d
Not resetting hidden file - C:\Alaron\Animations\desertAnim\loop1Jpgs\Thumbs.db
Not resetting hidden file - C:\Alaron\CD\Thumbs.db
Not resetting hidden file - C:\Alaron\NewScottsPictures\Personal\Thumbs.db
Not resetting hidden file - C:\Alaron\NewScottsPictures\Set1\Thumbs.db
Not resetting hidden file - C:\Alaron\NewScottsPictures\Set1Relabeled\Thumbs.db
Not resetting hidden file - C:\Alaron\NewScottsPictures\Set2\Thumbs.db
Not resetting hidden file - C:\Alaron\Sgnatures\Thumbs.db
Not resetting hidden file - C:\Alaron\veolia\sigs\jpg\Thumbs.db
Not resetting hidden file - C:\Alaron\veolia\Thumbs.db
Not resetting hidden file - C:\Alaron\Thumbs.db


This may be what you're seeing. attrib cannot reset hidden files. You have to unhide them first. However, if I look at the dirrectory with attrib /s /d I now see this

Quote:
A R C:\Alaron\veolia\LogoVeolia.gif
A R C:\Alaron\veolia\MVC-001F.JPG
A R C:\Alaron\veolia\MVC-002F.JPG
A R C:\Alaron\veolia\MVC-003F.JPG
A R C:\Alaron\veolia\MVC-004F.JPG
R C:\Alaron\veolia\sigs
A SH C:\Alaron\veolia\Thumbs.db
A R C:\Alaron\Alarondescriptiononyx.doc
A R C:\Alaron\alaronLayout05.psd
R C:\Alaron\Animations
R C:\Alaron\CD
R C:\Alaron\CYManifests
R C:\Alaron\Flash Experiments
A R C:\Alaron\footerCopyright.jpg
R C:\Alaron\Julian's Project
R C:\Alaron\NewScottsPictures
R C:\Alaron\OrigCDPowerPointPresentation
R C:\Alaron\Sgnatures
A SH C:\Alaron\Thumbs.db
R C:\Alaron\Tom
R C:\Alaron\veolia


Notice now how all the files AND directories are now Read Only?

Bottom line is, don't worry about what you see in Windows Explorer. It has no bearing on the actual attribute.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6810
  • Loc: Martinsburg, WV

Post 3+ Months Ago

As stated in the KB I linked to, this is by design in XP and 2003.
  • tmodis
  • Novice
  • Novice
  • tmodis
  • Posts: 25
  • Loc: Lugano, Switzerland

Post 3+ Months Ago

What am I doing wrong when I type:
attrib -H /s/d C:\foldername
it comes back with
"parameter format not correct"

My final aim is not the Internet Explorer, but to be able to update folder shortcuts in Outlook, which I am being refused right now.
  • lucassix
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2350
  • Loc: Indiana

Post 3+ Months Ago

try

attrib -H C:\foldername\*.* /s /d
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

oops. Thanks lucassix. I just noticed in my example I do have the switches in the wrong sequence. My bad.
  • dlw314159
  • Born
  • Born
  • dlw314159
  • Posts: 1

Post 3+ Months Ago

I'm having the same issue with changing the read only status as above. The problem I'm facing is changing the attributes to my documents and subfolders which I have mounted on a 2nd drive (E:\)

I tried the same tricks as above to determine and change the attributes of the files and folders on the E:\My Documents drive but I get a parameter error.

Thanks for you assistance on this.
  • aria1946
  • Born
  • Born
  • aria1946
  • Posts: 1

Post 3+ Months Ago

dlw314159 wrote:
I'm having the same issue with changing the read only status as above. The problem I'm facing is changing the attributes to my documents and subfolders which I have mounted on a 2nd drive (E:\)

I tried the same tricks as above to determine and change the attributes of the files and folders on the E:\My Documents drive but I get a parameter error.

Thanks for you assistance on this.


I too am getting a parameter error when I try to remove the hidden attribute on thumbs.db globally. I was also unable to remove them after a global search followed by select-all and delete.

It seems that I can remove one of them at a time, but there are literally hundreds of them scattered around my system. I've turned off the thumbnail caching that produces them in the first place. They're a pain in the butt and interfere with backups as each time the first thumbs.db is encountered, the backup process stops and asks me to confirm overwriting the existing thumbs.db.

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.