A read-only file has been set so that it cannot be altered or deleted. Also called- write-protected. You can make a file read-only in Windows by right-clicking on it and checking the ‘read-only’ box under attributes.