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.
#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
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.
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 visit PHP 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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version
Chinese version, very easy to use

Notepad++7.3.1
Easy-to-use and free code editor
