文件名到格式列表

格式列表»

文件名到格式列表[]

返回与所有注册的文件名模式相对应的文件格式列表。

文件名到格式列表["文件"]

返回与文件名匹配的文件格式列表"文件".

细节

  • 文件名到格式列表返回所有格式的列表{"柔性制造技术1",}按照它们被视为指定模式中给定文件的格式的顺序。

示例

全部打开全部关闭

基本示例  (2)

获取与特定文件名关联的格式:

获取与扩展名关联的格式:

范围  (1)

获取所有文件名模式映射的关联:

属性和关系  (4)

文件名和扩展名映射不区分大小写:

文件名可以匹配不同的格式:

文件格式使用此列表作为猜测的起点:

返回的第一个格式文件名到格式列表默认情况下在中使用导出:

指定其他导出格式:

可能会创建扩展名不正确的文件。创建扩展名为.jpg的PNG文件:

文件名到格式列表只查看文件名:

文件格式使用更复杂的试探法来确定正确的格式:

Wolfram Research(2021),FileNameToFormatList,Wolfram Language函数,https://reference.wolfram.com/language/ref/FileNameToFormatList.html。

文本

Wolfram Research(2021),FileNameToFormatList,Wolfram Language函数,https://reference.wolfram.com/language/ref/FileNameToFormatList.html。

CMS公司

沃尔夫拉姆语言。2021.“FileNameToFormatList”。Wolfram语言与系统文档中心。Wolfram研究。https://reference.wolfram.com/language/ref/FileNameToFormatList.html。

亚太地区

沃尔夫拉姆语言。(2021). 文件名到格式列表。Wolfram语言与系统文档中心。检索自https://reference.wolfram.com/language/ref/FileNameToFormatList.html

BibTeX公司

@misc{reference.wolfram_2024_filenametoformatlist,author=“wolfram Research”,title=“{filenametoformatlist}”,year=“2021”,howpublished=“\url{https://reference.wolfram.com/language/ref/FileNameToFormationList.html}”]}

BibLaTeX公司

@online{reference.wolfram_2024_filenametoformatlist,organization={wolfram Research},title={filenametoformatlist},year={2021},url={https://reference.jolfram.com/language/ref/FileNameToFormationList.html},note=[访问时间:2024年6月15日]}