Method System.SetFileAttributes() Method SetFileAttributes int SetFileAttributes(string(8bit) filename) Description Set the file attributes for the specified file. Note This function is only available on Win32 systems. See also GetFileAttributes()