+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Senior Member Jonty's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    598

    Question 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

  2. #2
    Supporting our military Bill in SD, CA's Avatar
    Join Date
    Oct 2002
    Location
    Camelot by the Sea
    Posts
    9,979
    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
    *****
    The final legacy of the United States will be that in the end liberalism shamed & destroyed the heritage of this great nation. How sad as I see no turning back. When in Rome ..

  3. #3
    Senior Member Jonty's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    598
    Yeah Bill, that's how I started to do it but there must be an easier way??

  4. #4
    Supporting our military Bill in SD, CA's Avatar
    Join Date
    Oct 2002
    Location
    Camelot by the Sea
    Posts
    9,979
    It is a PITA, I know.

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



    Bill
    *****
    The final legacy of the United States will be that in the end liberalism shamed & destroyed the heritage of this great nation. How sad as I see no turning back. When in Rome ..

  5. #5
    the *Voice* in your Head PresterJohn's Avatar
    Join Date
    Dec 2001
    Location
    NY
    Posts
    4,519
    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.

  6. #6
    Ultimate Member meese's Avatar
    Join Date
    Jun 2003
    Location
    NJ
    Posts
    2,467
    You can do this:

    attrib -r c:\foldername\*.*

    Refer to this link for more info:

    http://www.microsoft.com/technet/tre...ocs/attrib.asp

  7. #7
    Ultimate Member wju425's Avatar
    Join Date
    Jun 2002
    Location
    San Antonio Texas
    Posts
    1,646
    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

  8. #8
    Senior Member Jonty's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    598
    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.

  9. #9
    Supporting our military Bill in SD, CA's Avatar
    Join Date
    Oct 2002
    Location
    Camelot by the Sea
    Posts
    9,979
    Nice to know.

    Bill
    *****
    The final legacy of the United States will be that in the end liberalism shamed & destroyed the heritage of this great nation. How sad as I see no turning back. When in Rome ..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews