Attributes method

This is not a regular renaming method. It does not change the filename. It only changes the file attributes. You can change Archive, Read Only, Hidden or System, to NoChange, Set or Unset.

This function can be useful when eg. copying files from a CD-ROM. When you copy files from a CD-ROM, all the files will be read only. You can use this method to remove the read only attribute of the files.