How to Make a File Read Only

You create a file and put some important things in it; you don't want to lose it by deleting it mistakenly, and for safety reasons want a warning message before deletion (or for any other reason). Making a file Read-only is an easy and...

Method 1 of 2:

GUI Method

  1. Picture 1 of How to Make a File Read Only
    Right click on the file, you want to make it Read-only.
  2. Picture 2 of How to Make a File Read Only
    Click on the Properties tab from the context menu.
  3. Picture 3 of How to Make a File Read Only
    Click the Read-only check box belong to Attributes from on the General tab from the popped up Properties window.
  4. Picture 4 of How to Make a File Read Only
    Click on Apply and then click on Okay.
Method 2 of 2:

Command Prompt Method

  1. Picture 5 of How to Make a File Read Only
    Open command prompt. You can open it by clicking on Start->Run, then type cmd and hit Enter. You can also press Win Key+R.
  2. Write below codes and hit Enter to make your file Read-only.
    1. attrib +r ""
    2. Example: attrib +r "D:wikiHow.txt"
      Picture 6 of How to Make a File Read Only

You've just finished reading the article "How to Make a File Read Only" edited by the TipsMake team. You can save how-to-make-a-file-read-only.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV How to Add Desktop Wallpaper to Your Computer
NEXT » How to Access Public Folders in Outlook 2016 on PC or Mac