Name: Coos Bay Lumber Date: March 29, 2008 at 11:14:50 Pacific Subject: Read Only Attributes OS: Win 98 CPU/Ram: 500/180
Comment:
Read Only Files
I came up with a situation recently, in that many of the files on my 98 computer hard drive have gone over to the attribute of "Read Only"
What happens is that I am gayly working on some file, making revisions or creating a whole new one. Everything works fine. Then a month later go back to update the phrases and it now has a -r attrib added. To which I did not add originally, for knew it was going to be revised eventially.
This sort of annoys me, as I don't know how it happened, and adds time to fix each one of these when found. It doesn't hit a whole file, nor at any specific date either, it is very random.
How can I find these? and how can I do a wholesale removal of the -r attribute?
Open a command prompt window, change to the root directory of C:, and type in; attrib -r *.* /s
Keep in mind that this "unprotects" all files, including system files. If you restrict the command to a certain extension it would be safer. ie; *.doc, *.txt, etc.
If you run ATTRIB on a file it'll only show the attributes that are set. A read-only file will show R. A writable file won't show anything. You say you're getting a '-R' which doesn't make sense. Using +R or -R with the attrib command changes the attribute, it's not the attribute itself. Are you viewing the attributes through some other method? If it's actually showing a -R when using ATTRIB then maybe something else is going on.
If you're still there, and you don't like commmand prompts, simply select all the files in your hard drive, right click, properties, uncheck read-only, voila! (You may be able to merely select the root (C:) and do this, but I'm not sure.)
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE