文件名中的点之前,它叫什么?

发布于 2024-07-26 12:36:12 字数 22 浏览 2 评论 0原文

文件名中的点之后,称为扩展名。

After-the-dot-in-a-file-name, it is called extension.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(10

谁对谁错谁最难过 2024-08-02 12:36:12

它被称为基本名称。 事实上,有一个 unix/linux 命令:

basename - 剥离目录和后缀
从文件名

It's called the basename. In fact, there's a unix/linux command for it:

basename - strip directory and suffix
from filenames

摘星┃星的人 2024-08-02 12:36:12

“基本名称”、“基本名称”、“主名称”、“文件名”、“文件名”或“文件”。

The "base name," "basename," "primary name," "filename," "file name," or the "file."

我ぃ本無心為│何有愛 2024-08-02 12:36:12

基本名称或文件名。

Base name or file name.

寻梦旅人 2024-08-02 12:36:12

Ruby 将其称为基本名称。 这是一个很好、简洁的名字,我通常也在其他环境中使用。

Ruby calls it the basename. That's a good, succinct name that I generally go with in other environments too.

兔姬 2024-08-02 12:36:12

基本名称或主文件名。

Basename or primary file name.

熟人话多 2024-08-02 12:36:12

我称之为文件名。 所以它就像 Filename.ext

I call it filename. So its like Filename.ext

感悟人生的甜 2024-08-02 12:36:12

我总是将点和扩展名之前的所有内容称为“文件名”。

I've always called the everything before the dot and the extension the "file name".

陌上青苔 2024-08-02 12:36:12

我不是 Ruby 或 Linux 爱好者,所以我想我错过了 BaseName 的事情。 它引起了各种有趣的命名约定的欢闹。 我在营地

Filename.Ext

,尽管那也可以是文件名。 (或者可能是 FileNameWithExtension)。

I'm not a Ruby or Linux guy, so I guess I missed the BaseName thing. It makes for all sorts of interesting naming convention hilarity. I'm in the

Filename.Ext

camp, although that, too can be a FileName. (or maybe a FileNameWithExtension).

山人契 2024-08-02 12:36:12

曾几何时,使用术语 Leafname,尽管它通常包含扩展名。
我提到这一点是为了历史价值,并且由于它已不再使用,因此它可能可以用于此目的。

Once upon a time, the term Leafname was used, although that typically included the extension.
I mention this for historical value, and since its dropped out of usage, it might be redeemable for this purpose.

最好是你 2024-08-02 12:36:12

boost::filesystem 库也将其称为基本名称。

The boost::filesystem library calls it basename as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文