1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

What does the R (read only) attribute in DOS mean?

Discussion in 'DOS/Other' started by Fractalogic, Nov 4, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. Fractalogic

    Fractalogic Thread Starter

    Joined:
    Jul 4, 2010
    Messages:
    215
    Hey guys!

    You know those letters (R, A, S, H) that appear next to a file name or folder name in MS-DOS or CMD? What does it actually mean to have one of those letters next to a file or folder name? Or to be more specific, what does it mean to have the R next to a folder name?

    I am using CMD in Windows Vista...

    Thanks!
     
  2. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    Just like your subject says. Read Only. You won't be able to edit or save the file until you take the Read only attribute off of the file.
     
  3. Fractalogic

    Fractalogic Thread Starter

    Joined:
    Jul 4, 2010
    Messages:
    215
    Hmm... I understand that this is a way to write protect a file from accidental overwrites, but I'm not sure it answers the question of why you want to do the same with a folder. A folder is not a file... so you can't overwrite it.

    I have 1 folder named KLF with the R attribute, and there are 6 files within that folder and they each have only the attribute A. I know that adding R attribute to a folder is a way of adding the R attribute to multiple files within that folder in one step, as an alternative way to adding it repeatedly to each file which is tedious and time consuming. But what's the point of having the R attribute applied only to the folder, and not the files within that folder?...
     
  4. centauricw

    centauricw

    Joined:
    Jun 26, 2010
    Messages:
    444
    Both files and folders can have attributes. Generally, if a folder is set to read-only, that attribute will be inherited by the files and subfolders under that directory.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - does (read only)
  1. Chickdock
    Replies:
    2
    Views:
    134
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1025412

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice