Files that are copied from a CD/DVD or other read-only media will automatically have read-only attributes. You can also change the attributes of all the files in a folder by right-clicking on the folder itself, removing the read-only attribute, then choosing to "apply changes to this folder, subfolders and files."