# File lib/win32/file.rb, line 828
   def hidden=(bool)     
      attributes = GetFileAttributes(self.path)
      
      if attributes == INVALID_FILE_ATTRIBUTES
         raise ArgumentError, get_last_error
      end
      
      if bool
         attributes |= FILE_ATTRIBUTE_HIDDEN;
      else
         attributes &= ~FILE_ATTRIBUTE_HIDDEN;
      end
      
      if SetFileAttributes(self.path, attributes) == 0
         raise ArgumentError, get_last_error
      end
      self
   end