To add the Read-only attribute and remove the Hidden attribute, use attrib +r -h. To remove the write protection on the chosen drive, enter "attributes disk clean read only" and hit "Enter".
At the Command prompt, enter the command attribute -r +s "drive :path folder name" (be sure to include the drive letter, entire path, and folder name). By using this command, the file's read-only attribute will be removed and replaced with a system attribute. Restart the computer and click the F5 key when you see the message "Starting MS-DOS" or the MS-DOS version if the computer is unable to load MS-DOS. The MS-DOS default settings should be loaded by pressing this key.
Learn more about command here-
https://brainly.com/question/14583083
#SPJ4