Forum Home
Press F1
 
Thread ID: 15878 2002-02-19 21:41:00 Deselecting Read-Only attributes Guest (0) Press F1
Post ID Timestamp Content User
36331 2002-02-19 21:41:00 Ever since I copied my files back to the hard drive from the CD-RW disk after the reformat, all of them have the Read-Only attribute. That is a real pain since I have to change each file's property before opening it if I wish to edit and save the file.

Is there a command in DOS which can remove the Read-Only attribute on every file in the My Documents folder in one hit?

Running Windows 98.

Thank you!
Guest (0)
36332 2002-02-19 21:48:00 the command is

ATTRIB -r *.*

also look at ATTRIB /? for more information because you may need to use switches for subfolders.
Guest (0)
36333 2002-02-19 22:00:00 Thanks Kame, I've just found what I was after and you're pretty spot on.

In case others want to know, I did a search on Google for dos help and from the first site listed I figured out that I needed to open a dos prompt window, change the directory/folder from Windows to Documents (type cd \ then cd docume~1) then type in: attrib -r /s

The -r removes the read only attribute, and the /s switch instructs it to do the whole lot in the Documents directory/folder. Done!

If somebody wanted to make all folders/files read-only you substitute the -r for a +r.
Guest (0)
36334 2002-02-20 16:31:00 Found this site with software for changing attribiutes.
It's looks like it's also free.

webplaza.pt.lu

Hope this helps
Guest (0)
36335 2002-02-21 01:16:00 There's another way I know of.

Right-click the folder containing the files you want to change the attributes of and choose 'find'.

Then do a search for *.* and CTRL-A the results.

Now right-click on the selected files and change the attributes.

This works for all the sub-folders.
Guest (0)
36336 2005-04-06 23:04:00 Hi Guys, i've tried EVERYTHING...and the folders reset back to read only! What next?? RAB (381)
36337 2005-04-06 23:09:00 are your files still on the cd?

You won't be able to modify them if this is the case....They need to be on the HD.
Metla (12)
36338 2005-04-06 23:16:00 No, all files are on the HD, and yes i am the admin with full control rights. RAB (381)
36339 2005-04-07 02:13:00 Have you actually got the files on the hard disk or do you have shortcuts to the files n the CD? ;) Graham L (2)
1