阅读未知文件扩展名需要什么知识.

编程入门 行业动态 更新时间:2024-10-10 11:25:23
本文介绍了阅读未知文件扩展名需要什么知识.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨.我对此有一个疑问,我应该研究或阅读哪些内容,以获取有关制作可以读取未知文件扩展名的程序的知识.就我而言(.shn).

Hi. I have a question about this, What should I look into or read about to get knowledge of making a program that can read a unknown file extension. In my case (.shn).

推荐答案

您的意思是此 [^ ]? 与公司联系并询问他们或搜索Google以查看是否有人创建了可以读取文件的应用. Do you mean this[^]? Contact the company and ask them or search Google to see if anyone has created an app that can read the files.

您需要知道文件的结构,但可能不知道能够找到它是否是专有的.如果您有可用的转换器,则可以将文件转换为可以阅读的文件类型(在这种情况下,也许更容易使用MP3之类的东西). 除此之外,您无能为力,所有文件都只是一系列字节,没有任何神奇的方法可以将任何文件转换为可用格式. 此页面 [ ^ ]看起来好像有一些信息可以指引您正确的方向. You would need to know the structure of the file, but you might not be able to find it if it''s proprietary. If you have a converter available you might be able to convert a file into a file type you can read (in this case, maybe something like MP3 would be easier to work with). Beyond that, there isn''t much you can do, all files are just a series of bytes, there''s no magic way to translate any file into a useable form. This page[^] looks like it has some information that could point you in the right direction.

问题的根源是:在Windows中没有文件扩展名" 之类的东西,或者我几乎可以肯定,目前没有支持CLI的操作系统.这样的扩展名"曾在一些旧的操作系统中使用,例如VAX VMS和MS-DOS(虽然不是一个完整的操作系统),可能仍在某处使用,但是这种功能"颇为深奥,更多的是文件系统的局限性",而不是文件系统的局限性"而不是局限性". 扩展名". 对于Windows,这只是一些文件命名约定.它不能为已知或未知.某些名称模式已在Windows注册表中注册(例如,可以在软件安装中添加更多名称模式),只是告诉Windows Shell使用哪些默认应用程序处理此类文件,以及其他一些(可选)使用信息.有关文件结构和格式的实际信息包含在文件内容中(这称为元数据",可能会或可能不会提供).就这样. 什么知识?也许您只需要更多地了解文件,文件系统,文件系统对象,I/O编程和序列化的概念;其他一切都取决于特定的应用程序和应用程序领域.
—SA
The root of the problem is this: there is no such thing as "file name extension" in Windows or, I''m almost sure, none of the OS where CLI is presently supported. Such "extensions" was in use in some old OS as VAX VMS and MS-DOS (not quite an OS though), probably still in use somewhere, but this "feature" is rather esoteric, more of "limitation" of file system than "extension". For Windows, this is nothing but some file naming convention. It cannot be known or unknown. Some name patterns are registered in Windows Registry (and more can be added with software installation, for example), only to tell the Windows Shell what default application to use with such files, as well as some other (optional) usage information. The real information on the file structures and formats is contained in the file contents (this is called "metadata", which may or may not be available). That''s it. What knowledge? Perhaps you just need to know a bit more on the concept of the file, file system, file system objects, I/O programming and serialization; everything else depends on particular applications and application fields.
—SA

更多推荐

阅读未知文件扩展名需要什么知识.

本文发布于:2023-11-13 06:08:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583652.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件扩展名   知识

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!