Home > Common Problem > body text

What can be used to unambiguously represent unique files in a folder?

青灯夜游
Release: 2022-08-01 14:15:49
Original
3758 people have browsed it

The "file name" can clearly indicate the only file in the folder. The file name is an identifier of the file's existence, and the operating system controls and manages it based on the file name; in order to facilitate people to distinguish different files in the computer, each file needs to be given a designated name. Files in the same folder have unique file names and cannot be repeated; but file names in different folders can be the same.

What can be used to unambiguously represent unique files in a folder?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The "file name" can clearly indicate the only file in the folder.

The file name is the name specified for the file. In order to distinguish different files, each file must be named, and the computer accesses the files by name.

The file name is an identifier of the file's existence, and the operating system controls and manages it based on the file name. Different operating systems have slightly different rules for file naming, that is, the format and length of file names vary from system to system. In order to make it easier for people to distinguish different files in the computer, each file is given a specific name. It consists of the main name of the file and its extension.

The file name is the name specified for the file. In order to distinguish different files, each file must be named, and the computer accesses the files by name.

The files in the same folder have unique names and cannot be repeated, but they can be the same in different folders.

The complete file name is composed of the file main name and extension. The main name of the file consists of 1 to 8 characters, and the extension name consists of 1 to 3 characters. The main name and extension are separated by a small dot.

The file name is an identifier of the existence of the file. The operating system controls and manages it based on the file name. Different operating systems have slightly different rules for file naming. That is, the format and length of the file name vary depending on the system. different. The file name can be up to 255 characters long. Spaces are allowed in file names.

What can be used to unambiguously represent unique files in a folder?

Extended information:

The suffix name of a file is a mechanism used by the operating system to mark the file type. The extension can be thought of as metadata for a type.

For example: In the file name of "Lyrics.txt", lyrics is the main file name, and txt is the extension (full name of text and foreign language: Text), which means that this file is considered a plain text file.

Some file systems limit the length of extensions. For example, the FAT file system on personal computer disk operating systems and Microsoft Disk Operating System (MS-DOS) does not allow more than three characters, and IBM's VM/CMS does not allow more than three characters. Eight characters, while others such as NTFS "New Technology File System" have no limit, and the file system of the Unix operating system accepts the delimiter point as a legal and valid character.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What can be used to unambiguously represent unique files in a folder?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template