How to Make a File Read Only
Method 1 of 2:
GUI Method
- Right click on the file, you want to make it Read-only.
- Click on the Properties tab from the context menu.
- Click the Read-only check box belong to Attributes from on the General tab from the popped up Properties window.
- Click on Apply and then click on Okay.
Method 2 of 2:
Command Prompt Method
- 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.
- Write below codes and hit Enter to make your file Read-only.
attrib +r ""
- Example:
attrib +r "D:wikiHow.txt"
5 ★ | 1 Vote
You should read it
May be interested
- What is an XML file and how to open it?the file with the .xml extension is the extensible markup language file (xml). this is really just plain text files that use custom tags to describe the structure and other features of the document.
- How to read PDF files, TOP best softwarepdf files are a popular document format, but not everyone knows how to open and read this file. with the support of software such as adobe reader, foxit reader or web browsers, you can easily view pdf content without difficulty.
- Read the File record in Node.jsin the previous chapters, you found that you used a lot of require (fs) syntax. so what is the syntax to do? this is the syntax to declare fs module to deploy file i / o operations in node.js.
- File & I / O in PHPin this article we will learn about explaining file-related functions in php.
- What is the XLSX file? What software to read?similar to the doc file in microsoft word, users are too familiar with the xls format file in microsoft excel. therefore, many people will be surprised to receive the xlsx file. so please consult our information.
- What is a DAT file? How to open DAT files, How to read DAT files on Windows and Macbook computersthe article provides information about the .dat file. typical examples of .dat files, how to recognize .dat files and how to read and open files on a computer. let's see it now!
- How to edit a Word file that says Read Onlyin fact, it is not difficult to edit a word file that says read only on your computer. to help you open a document that only allows reading and editing, you need to clearly determine the reason for this phenomenon, so that you can fix it. can choose the fastest and most effective treatment plan.
- How to open and view .EML files on Windows 7, 8 and 10?eml files are stored on mailboxes created (or saved) using microsoft outlook express. if you just changed your old windows xp computer (with outlook express installed) with a new windows 10, 8 or windows 7 computer. you will then discover that you cannot open and view the eml file.
- Working with File in Pythonin this article, we will work with you to learn about file operations in python. more specifically, how to open files, read files, write to files, close files, and methods to work with files you should know. let's watch.
- How to fix the error that the computer cannot read the PDF fileone of the common errors users encounter when using pdf files is that they cannot open and the computer cannot read the pdf file.