如何检测“隐藏文件扩展名” (Windows系统)来自flash/as3应用程序?

发布于 2024-09-18 06:54:56 字数 129 浏览 1 评论 0原文

我正在开发一个应用程序(flash/As3),它可以让用户上传和编辑图像,然后将其保存到计算机, 使用文件引用。

是否可以知道用户计算机是否选择了“隐藏文件扩展名”选项(Windows系统)?我该怎么做?

谢谢

i'm working on an app (flash/As3) that lets the user upload and edit an image, and then save it to the computer,
using FileReference.

it's posible to know if the user computer have the option "hidden file extensions" (windows system) selected? How can i do it?

thanks

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

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

发布评论

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

评论(3

君勿笑 2024-09-25 06:55:02

我不相信你需要知道。上传文件后,无论用户是否在资源管理器中启用了该选项,您都将获得扩展名。

相反,当他们保存文件时,您会将其与扩展名一起发回,但如果资源管理器打开了该选项,则会隐藏它。

它不应该对您编写应用程序的方式产生影响。

I don't believe you need to know. When the file is uploaded, you will get the extension whether or not the user has that option enabled in Explorer.

Conversely, when they save the file, you will send it back with the extension, but Explorer will hide it if they have the option turned on.

It shouldn't make a difference to how you code your app.

情话已封尘 2024-09-25 06:55:01

我不认为你会想要它 - AS3 中的文件引用显然总是与扩展一起使用,无论资源管理器是否隐藏了它们 - 它只是为了在资源管理器中显示。

I don't think you will ever want it - the File referencing in AS3 obviously ALWAYS works with extensions, no matter if the Explorer has hidden them - it is just for displaying IN the explorer.

过度放纵 2024-09-25 06:55:00

据我所知,不,你不能那样做。这是操作系统特定的事情。

你为什么想知道这个?

To the best of my understanding, no, you cannot do that. It is an OS specific thing.

Why do you even want to know that?

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