Home>Article> In Windows, what are the default attributes of files created by users?

In Windows, what are the default attributes of files created by users?

WBOY
WBOY Original
2022-08-15 14:00:15 14473browse

The default attribute of files created by users in Windows is archive, which is readable and writable; the attributes of a file include read-only, hidden, system and archive. The archive attribute refers to the file or folder attribute. Attributes that can be used to mark. Generally, files generated by users have the archive attribute.

In Windows, what are the default attributes of files created by users?

The operating environment of this tutorial: Windows 10 system, DELL G3 computer.

What are the default attributes of files created by users in Windows?

The default attributes of files created by users in Windows are archive attributes.

In Windows, the attributes of a file include read-only, hidden, system, and archive. The archive attribute (archive) refers to one of the attributes of a file or folder (hereinafter referred to as a file) that can be used to mark. Common file attributes include system attributes, hidden attributes, read-only attributes and archive attributes.

The "archive" attribute of files in windows involves its own backup tool ntbackup. Its backup principle is based on the status of the file backup mark. The backup mark is an attribute of the file, also known as the archive attribute. There are two statuses of archive attributes: backed up (not checked) and not backed up (checked).

The corresponding explanation is that if it has been backed up by the ntbackup tool, it will be marked as "backed up", otherwise it will be marked as not backed up. If the backed up files and folders are modified later, the system will automatically mark the file or folder as archived, indicating that the file or folder will be backed up in the next backup.

Of course, you can also add the archive attributes manually, but it also involves the backup type of ntbackup, so I won’t go into details again. In short, regarding the archive attributes, all files supported by the Windows system will have them for backup, but Whether it is activated or not (whether it is checked or not depends on whether it has not been backed up using ntbackup, as well as the backup type used at that time.

Knowledge Expansion

Meaning of attributes

Separate items with different tags for storage and transmission. It defines some unique properties of the file. Similar to tags.

System file properties

Common file properties include system properties, hidden properties, read-only properties and archive properties. There are more file systems, in the Explorer column" In "Properties", you can browse the abbreviations of the file's properties, such as HAC (hide, archive, compress).

The file's properties can be changed in the file's properties box, or by command line commands, but it should be noted that some properties require It can only be changed under non-read-only conditions.

Common file attributes

  • Read-only (R)

The file has the "read-only" attribute. It is not allowed to be modified or deleted by the program. This is a modification of the hard disk permissions, but it can be deleted or moved manually. The "read-only" attribute can be added by the program Or delete, and no long-term operation is required.

  • Archive (A)

The file has the "Archive" attribute. Indicates that the file should is archived, software can use this attribute to determine that the file should be backed up.

  • Hidden (H)

Files have the "hidden" attribute .The file will not be displayed under the general system settings. But when creating a file, you need to ensure that there are no duplicate files, including file names with all attributes.

Hidden files can be opened through the path or by checking View hidden files in the advanced settings of Folder Options "Show hidden files, folders, and drives".

  • System(S)

The file has the "system" attribute, which is an attribute set by the system to protect system files. It means that the file is a system file and is read-only. The file data is not allowed to be modified or deleted by the program, and cannot be changed manually." Hide" attribute, but the "hidden" attribute and the "system" attribute can be freely combined. The "system" file can be renamed.

When the "system" file has the "hidden" attribute, in addition to checking "Show" In addition to "Hidden files, folders, and drives", you also need to uncheck "Hide protected operating system files (recommended)" to view hidden "system" files.

  • Link (L)

The file has the "link" attribute. When a file is set to a symbolic link or text link mode, the file will have a "link" attribute to indicate that the file is used for symbolic links. Different from shortcuts, shortcuts are a file type, and shortcut file data contains jump data.

Similar links include hard links, directory links, etc. There are other link methods that can be implemented through software functions.

  • Directory(D)

The "directory" attribute only exists in folders. In order for the system to identify files and folders, folders will have a "directory" attribute.

  • No index (I)

The file has the "no index" attribute. The system automatically indexes files without "no index", which allows the system to find files faster. The "No Index" attribute can be removed by checking "Allow the contents of files in folders to be indexed in addition to file attributes" in the Advanced Properties "Archive and Index Properties" of the file properties box.

  • Extended attributes

Different types of attributes can be added to files without restrictions, such as. The explanation of some other attributes of the file requires development documents provided by the developer, with detailed and complete explanations.

For more related knowledge, please visit theFAQcolumn!

The above is the detailed content of In Windows, what are the default attributes of files created by users?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn