Home>Article> What is the difference between files and folders?

What is the difference between files and folders?

青灯夜游
青灯夜游 Original
2020-12-07 17:06:33 55519browse

Difference: A file is a collection of information stored on a computer using the computer hard disk as a carrier. Files can be text documents, pictures, programs, etc. Folders are a data structure used to organize and manage disk files, which are equivalent to "drawers" for classified file storage; each folder corresponds to a piece of disk space, and it provides an address pointing to the corresponding space.

What is the difference between files and folders?

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

Related recommendations: "Introduction to Programming"

File

Computer files are a type of file and are different from ordinary file carriers Differently, computer files are a collection of information stored on the computer using the computer hard disk as the carrier. Files can be text documents, pictures, programs, etc. Files typically have a dot three-letter file extension that indicates the file type (for example, image files are often saved in JPEG format and have a .jpg file extension).

Folder

A folder is a data structure used to organize and manage disk files.

Ordinary computer folders are used to help people manage computer files. Each folder corresponds to a piece of disk space. It provides an address pointing to the corresponding space. It has no extension and is not in the same format as a file. Identified by extension. But it has several types, such as: documents, pictures, photo albums, music collections, etc.

The difference between files and folders

What is the difference between files and folders?

1. Different attributes

Files have specific content or purpose , it can be text documents, pictures, programs, software, etc. Generally speaking, there are many files in a computer. A file is an ordered sequence of a set of related information items with symbolic names and logically complete meaning.

Folders are used to place these files. For example, pictures are placed in a folder, games are placed in a folder, P picture software is placed in a folder, and folders are used to Classification allows users to know more clearly what is where.

2. Different functions

Files have specific contents or purposes. Usually computers have a variety of files with different functions, including executable files, data files, class or library files, and text files. , image files and so on.

Folders are used to help people manage computer files. Each folder corresponds to a piece of disk space. It provides an address pointing to the corresponding space. It has no extension, so it does not use an extension like the file format. Name to identify.

What is the difference between files and folders?

3. Different uses

Files are usually divided into files with different functions on the computer, including executable files, data files, class or library files , text files, image files and so on. Folders are used to place these files and can be divided into many levels.

Folders are used to help people manage computer files. Each folder corresponds to a piece of disk space. It provides an address pointing to the corresponding space. It has no extension, so it does not use an extension like the file format. Name to identify. But it has several types, such as: documents, pictures, photo albums, music, music collections, etc.

If you want to read more related articles, please visitPHP Chinese website! !

The above is the detailed content of What is the difference between files and folders?. 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