»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-03-2003, 10:14 AM   #1 (permalink)
Registered User
 
Jonty's Avatar
 
Join Date: Oct 2001
Location: England
Posts: 590
Jonty is on a distinguished road
Kids Changing read-only file

I have a whole bunch of read-only files in various folders that I want to take the read-only check mark off. I know about the 'attrib' command in DOS but as far as I can tell you have to specify the file names, I just want to do a global uncheck in these folders.

Your help would be appreciated

Jonty is offline   Reply With Quote
Old 07-03-2003, 10:21 AM   #2 (permalink)
Registered User
 
Bill in SD, CA's Avatar
 
Join Date: Oct 2002
Location: Bottom left of U.S.
Posts: 4,714
Bill in SD, CA is on a distinguished road
I don't know if you can "globally" uncheck them. Read only files grouped together in a folder can be highlighted and then right click>select properties and then remove the read only check and then click ok. That will make all of them no longer read only.

I just did this with about 2000 mp3 files that I had archived to CDR's for safe keeping.

Bill
Bill in SD, CA is offline   Reply With Quote
Old 07-03-2003, 10:28 AM   #3 (permalink)
Registered User
 
Jonty's Avatar
 
Join Date: Oct 2001
Location: England
Posts: 590
Jonty is on a distinguished road
Yeah Bill, that's how I started to do it but there must be an easier way??
Jonty is offline   Reply With Quote
Old 07-03-2003, 10:53 AM   #4 (permalink)
Registered User
 
Bill in SD, CA's Avatar
 
Join Date: Oct 2002
Location: Bottom left of U.S.
Posts: 4,714
Bill in SD, CA is on a distinguished road
It is a PITA, I know.

I'll be looking here for anyone else with a better idea.



Bill
Bill in SD, CA is offline   Reply With Quote
Old 07-03-2003, 11:05 AM   #5 (permalink)
Registered User
 
PresterJohn's Avatar
 
Join Date: Dec 2001
Location: NY
Posts: 3,471
PresterJohn is on a distinguished road
there are several ways you could remove the attribute.

the simplest one would be to use the attrib command which does indeed support wildcards and subriectories.

ATTRIB -r *.mp3 /s

if you're running w2k and up, an added switch, "/D" adds folder support.
PresterJohn is offline   Reply With Quote
Old 07-03-2003, 11:31 AM   #6 (permalink)
Registered User
 
meese's Avatar
 
Join Date: Jun 2003
Location: NJ
Posts: 1,096
meese is on a distinguished road
You can do this:

attrib -r c:\foldername\*.*

Refer to this link for more info:

http://www.microsoft.com/technet/tre...ocs/attrib.asp
meese is offline   Reply With Quote
Old 07-03-2003, 11:34 AM   #7 (permalink)
Registered User
 
wju425's Avatar
 
Join Date: Jun 2002
Location: San Antonio Texas
Posts: 714
wju425 is on a distinguished road
There's a program called "readonly" that'll do the trick. I use it all the time. Everything you copy off the cds are always read only.

\o/ Billy
wju425 is offline   Reply With Quote
Old 07-03-2003, 12:08 PM   #8 (permalink)
Registered User
 
Jonty's Avatar
 
Join Date: Oct 2001
Location: England
Posts: 590
Jonty is on a distinguished road
Thanks meese, the link you gave to Microsoft was spot on.

Using the /s switch did the job, I didn't know about this switch - I thought there must be a way and there is.

Thanks PresterJohn too.
Jonty is offline   Reply With Quote
Old 07-03-2003, 01:48 PM   #9 (permalink)
Registered User
 
Bill in SD, CA's Avatar
 
Join Date: Oct 2002
Location: Bottom left of U.S.
Posts: 4,714
Bill in SD, CA is on a distinguished road
Nice to know.

Bill
Bill in SD, CA is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:09 AM.