How To Delete A Read-only File From Disk

Table of contents:

How To Delete A Read-only File From Disk
How To Delete A Read-only File From Disk

Video: How To Delete A Read-only File From Disk

Video: How To Delete A Read-only File From Disk
Video: Fix Read Only Files and Folders in Windows 2024, November
Anonim

The need to change the read-only attribute may arise when copying and moving some Windows system files to be able to fully use them. For example, a personal PST file will prevent Outlook from starting normally if the read-only attribute is present.

How to delete a read-only file from disk
How to delete a read-only file from disk

Instructions

Step 1

Click the "Start" button to bring up the main menu of the Microsoft Windows operating system and go to the "Run" item to perform the procedure for removing the "Read-only" attribute from a file on disk during a copy operation.

Step 2

Enter cmd in the Open field and click OK to confirm the execution of the command to run the Command Prompt tool.

Step 3

Enter the value xcopy drive_name: *. * Path_to_required_file / h / e into the command line text box to use the Xcopy.exe program on the CD and confirm the selected command by pressing the Enter function key.

Step 4

Learn more about the other features of Xcopy.exe by typing xcopy /? In the command prompt text box and pressing the Enter function key to confirm the command.

Step 5

Find the file to be edited in the "Windows Explorer" program and call its context menu by right-clicking the mouse to perform the operation of changing the "Read-only" attribute manually.

Step 6

Specify the "Properties" item and go to the "General" tab of the dialog box that opens.

Step 7

Uncheck the Read-only box and click OK to apply the selected changes.

Step 8

Return to the main Start menu for the alternate procedure to remove the Read-only attribute using the Attrib command and go to Run.

Step 9

Enter cmd in the Open field and click OK to confirm that the command line has been started.

Step 10

Enter attrib /? In the command line text box to define the command you want and press the Enter function key.

Step 11

Use the value attrib -r -s DriveName: FileName to remove the Read Only and System attributes from the selected file and confirm the command by pressing the Enter softkey.

Recommended: