目录和文件夹有什么区别? [英] What is the difference between a directory and a folder?

查看:480
本文介绍了目录和文件夹有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大多数人互换使用术语文件夹和目录。从程序员的角度来看,有什么区别,如果有,那是什么?它是否取决于操作系统,还是存在广泛的普遍共识? 至少表明存在区别。 p>

Most people use the terms "folder" and "directory" interchangeably. From a programmer point of view, is there a difference, and if so, what is it? Does it depend on the OS, or is there a broad, general consensus? This at least suggests that there is a difference.

推荐答案

检查文件夹隐喻 Wikipedia 中的部分。它指出:

Check "The folder metaphor" section at Wikipedia. It states:


目录(即文件系统概念)与用于表示该目录的图形用户界面隐喻(a夹)。例如,Microsoft Windows使用特殊文件夹的概念来帮助用户以相当一致的方式向用户展示计算机的内容,从而使用户不必处理绝对目录路径,该绝对目录路径在Windows版本之间以及之间可能会有所不同。个别安装。 ...

There is a difference between a directory, which is a file system concept, and the graphical user interface metaphor that is used to represent it (a folder). For example, Microsoft Windows uses the concept of special folders to help present the contents of the computer to the user in a fairly consistent way that frees the user from having to deal with absolute directory paths, which can vary between versions of Windows, and between individual installations. ...

如果要引用一个文件容器,则术语文件夹更为合适。术语目录是指在计算机上存储文档文件和文件夹的结构化列表的方式。区别可能是由于访问目录的方式所致。在Unix系统上,在命令行控制台中查看时/ usr / bin /通常被称为目录,但是如果通过图形文件管理器进行访问,则用户有时可以将其称为文件夹。

If one is referring to a container of documents, the term folder is more appropriate. The term directory refers to the way a structured list of document files and folders is stored on the computer. The distinction can be due to the way a directory is accessed; on Unix systems, /usr/bin/ is usually referred to as a directory when viewed in a command line console, but if accessed through a graphical file manager, users may sometimes call it a folder.

这篇关于目录和文件夹有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆